Get Audit Records
Get Jira audit records.
For more information on the API for getting audit records, see Get audit records (opens in a new tab).
SDK Import:
from admyral.actions import get_jira_audit_records
Arguments:
Argument Name | Description | Required |
---|---|---|
Start Date start_date | The start date in in ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ). | - |
End Date end_date | The end date in in ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ). | - |
Filter filter | A list of strings to match with audit field content. The strings must not contain spaces. Example: ["user", "permissions"] | - |
Limit limit | The maximum number of audit records to return. Default: 1000 | - |
Returns
A JSON array of JSON objects.
Required Secrets
Secret Placeholder | Description |
---|---|
JIRA_SECRET | Jira secret. See Jira setup |
SDK Example
audit_records = get_jira_audit_records(
filter=["user", "permissions"],
secrets={"JIRA_SECRET": "my_stored_jira_secret"}
)