Integrations
Jira
APIs
Get Audit Records

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 NameDescriptionRequired
Start Date start_dateThe start date in in ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).-
End Date end_dateThe end date in in ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ).-
Filter filterA list of strings to match with audit field content. The strings must not contain spaces. Example: ["user", "permissions"]-
Limit limitThe maximum number of audit records to return. Default: 1000-

Returns

A JSON array of JSON objects.

Required Secrets

Secret PlaceholderDescription
JIRA_SECRETJira secret. See Jira setup

SDK Example

audit_records = get_jira_audit_records(
    filter=["user", "permissions"],
    secrets={"JIRA_SECRET": "my_stored_jira_secret"}
)