Atlassian Jira

Download 39
Last updated Oct 29, 2026

User Guide

Overview

Target users: Security and audit staff and Jira administrators in organizations that use Atlassian Jira Cloud

With the Atlassian Jira app, you can do the following:

  • Review changes to permissions, users and groups, projects, and field, screen, and workflow configurations, as well as issue deletions
  • Track issue creation, field changes, and comment creation and updates
  • Retrieve audit logs with the jira-audit-logs command without a logger

Key Concepts and Terms

TermMeaningRelated resource
Audit logHistory of settings and permission changes and issue deletions on the Jira sitejira-audit
Issue activityHistory of issue creation, field changes, and comment creation and updates. Each change history entry is recorded as one rowjira-issue-activity
ChangesList (changes) that holds the field name (field_name), previous value (changed_from), and new value (changed_to) for each changed fieldAudit log and issue activity schemas
Author account IDID of the Atlassian account that performed the action in the audit log (author_account_id). Same value as user in the issue activity logAudit log schema
jira-audit-logsReturns a list of audit records from Atlassian Jirajira-audit-logs
Connect profileSonar object that stores the credentials (subdomain, email, API token) required to connect to the Jira Cloud REST APISee the install guide

Main Screens and Menu Paths

FeaturePath
App managementApps
Connect profilesSettings > Connect Profiles
Logger status and errorsLoggers > Loggers
Log search and command executionAnalysis > Queries
Scheduled query executionAnalysis > Scheduled Queries

Task Scenarios

Scenario 1: Find Deleted Issues and Who Deleted Them

Purpose: When an issue is deleted, find which issue was deleted, by whom, and when. The audit log contains only the author account ID, so join it with the account information in the issue activity log to see the name and email.

Prerequisites:

  • The audit log collection setup and the issue activity log collection setup in the install guide must be completed.
  • The account that created the token must have the Administer Jira global permission.

Steps:

  1. Run the following query in Analysis > Queries.
table duration=7d JIRA_AUDIT
| search summary == "Deleted Jira issue"
| fields _time, object_name, author_account_id, src_ip
| join type=left author_account_id [
    table duration=30d JIRA_ISSUE_ACTIVITY
    | sort limit=1 -_time by user
    | fields user, user_name, user_email
    | rename user as author_account_id ]
| sort -_time
| fields - author_account_id
  1. To also see the author account ID, remove the last line (fields - author_account_id).

Expected results:

_timeobject_namesrc_ipuser_nameuser_email
2026-10-19 15:31:40PROJ-3 John Doeuser@example.com
2026-10-13 17:19:05PROJ-6203.0.113.10John Doeuser@example.com
  • object_name is the key of the deleted issue.
  • src_ip may be empty because it is not always recorded.

Troubleshooting:

SymptomCauseSolution
The query returns no resultsNo issues were deleted during the query periodIncrease duration and run the query again
user_name is emptyThe user has no issue activity records during the query period (30 days)Increase duration inside the brackets, or look up the author account ID in Atlassian administration
The audit log table is emptyAll Jira apps are on the Free plan, or the token account lacks admin permissionCheck the plan and account permission requirements in the install guide
The logger status shows an errorThe API token is invalid or expiredCheck the logger's error details, then see the collection error item in "Post-Installation Verification" of the install guide

Scenario 2: View the Change History of a Specific Issue

Purpose: See in chronological order when and by whom the assignee, status, priority, and other fields of a specific issue were changed, and which comments were added.

Prerequisites:

  • The issue activity log collection setup in the install guide must be completed.
  • The account that created the token must be able to view the issues in the project.

Steps:

  1. Decide the key of the issue to check. Example: PROJ-2
  2. Run the following query in Analysis > Queries.
table duration=7d JIRA_ISSUE_ACTIVITY
| search issue_key == "PROJ-2"
| sort _time
| fields _time, action, user_name, changes, content

Expected results:

_timeactionuser_namechangescontent
2026-10-19 15:29:22issue_createdJohn Doe This is the description.
2026-10-19 15:30:21issue_updatedJohn Doeassignee: (none) → John Doe
2026-10-19 15:31:27issue_updatedJohn Doestatus: Open → Triaged
2026-10-19 15:39:06issue_updatedJohn Doepriority: Medium → High
  • In the table above, changes is shortened to "field: previous value → new value".
  • For issue creation, content is the issue description. For comment creation and updates, content is the comment text.

Troubleshooting:

SymptomCauseSolution
The query returns no resultsNo changes during the query period, or the issue key is differentIncrease duration or check the issue key, then run the query again
No new history for a deleted issueDeleted issues can no longer be retrieved from JiraHistory collected before the deletion remains in the table. Check the deletion record with Scenario 1
The logger status shows an errorThe API token is invalid or expiredCheck the logger's error details, then see the collection error item in "Post-Installation Verification" of the install guide

Notes

  • Language of category values: The category in audit logs is translated according to the language setting of the account that created the token. In query conditions, it is safer to use summary, which is recorded in English.
  • Audit log retention period: Jira keeps audit logs only for the retention period set by the site administrator (up to 6 months), so older records cannot be collected or retrieved.
  • Visible scope: Issue activity is collected only for issues in projects that the account that created the token can view.
  • Comment updates and deletions: Comment update events record only the edited content, and comment deletions are not collected. Issue deletions are recorded in audit logs, not in issue activity.
  • jira-audit-logs and connect profiles: The command queries all registered Jira connect profiles, so if any profile has an invalid or expired token, the whole query fails.

Related Documents