Jira Tables and Scopes

The Atlassian plugin for Jira includes the following tables and scopes

Scopes

Classic

Scope
manage:jira-configuration
read:jira-user
read:jira-work
write:jira-work

Granular

Scope
read:application-role:jira
read:attachment:jira
read:audit-log:jira
read:avatar:jira
read:field-configuration:jira
read:field.default-value:jira
read:field.option:jira
read:field:jira
read:group:jira
read:issue-details:jira
read:issue-meta:jira
read:issue-security-level:jira
read:issue-type-hierarchy:jira
read:issue-type:jira
read:issue.changelog:jira
read:issue.vote:jira
read:issue:jira
read:permission-scheme:jira
read:permission:jira
read:project-category:jira
read:project-role:jira
read:project-version:jira
read:project.component:jira
read:project.property:jira
read:project:jira
read:status:jira
read:user:jira
write:attachment:jira
write:comment.property:jira
write:comment:jira
write:issue:jira

Tables

JiraApplicationRole

This table stores information about application roles in Jira, including group details, user limits, and platform association.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
IDintegerUnique identifier for the application role.
KeystringThe key of the application role.
NamestringThe display name of the application role.
NumberOfSeatsintegerThe maximum count of users on your license.
PlatformbitIndicates if the application role belongs to the Jira platform.
RemainingSeatsintegerThe number of available seats remaining.
SelectedByDefaultbitIndicates whether the application role is selected by default.
UserCountintegerThe number of users assigned to this application role.
UserCountDescriptionstringA textual representation of the user count (e.g., "5 developers", "0 users").

Related Scopes

ClassicGranular
manage:jira-configurationread:application-role:jira

JiraAuditAssociatedItems

This table stores information about items related to audit records in Jira. When changes happen in Jira, such as updates to user groups or permissions, Jira logs these changes in an audit record. This table keeps track of the specific items involved in those changes, including their names, types, and parent associations.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
IDstringThe unique identifier of the associated record.
NamestringThe name of the associated record.
ParentIdstringThe ID of the associated parent record.
ParentNamestringThe name of the associated parent record.
TypeNamestringThe type of the associated record.

Related Scopes

ClassicGranular
manage:jira-configurationread:audit-log:jira
read:user:jira

JiraAuditChangedValues

This table stores a history of changes made to specific fields in Jira audit records. Each entry tracks what changed, including the old value, the new value, and the field name. It helps in reviewing and understanding modifications made within Jira, supporting compliance, troubleshooting, and audit reporting.

NameTypeDescription
AuditChangedValueIDintegerThe unique identifier for the audit changed value record.
BatchDatedatetimeThe date and time data was synced to our database.
ChangedFromstringThe value of the field before the change, as recorded in the audit event.
ChangedTostringThe value of the field after the change, as recorded in the audit event.
ConfigIDintegerThe ID of the configuration within Compyl.
FieldNamestringThe name of the field that was changed in the audit record.
JiraAuditConfigIDintegerThe ID of the configuration within Compyl.
JiraAuditIDintegerThe ID of the audit record that this changed value belongs to.

Related Scopes

ClassicGranular
manage:jira-configurationread:audit-log:jira
read:user:jira

JiraAuditObjectItems

The JiraAuditObjectItems table stores details about objects associated with audit records in Jira. These objects represent entities affected by an audit event, such as users, groups, or projects. The table links each object item to a specific audit record and provides relevant metadata, including its name, parent details, and type.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
IDintegerA unique identifier for the Jira audit object item
JiraAuditConfigIDintegerThe ID of the configuration within Compyl.
JiraAuditIDintegerA reference to the audit record this object belongs to.
NamestringThe name of the associated object.
ObjectItemIDstringThe unique identifier of the associated object in Jira.
ParentIdstringThe ID of the parent object, if applicable.
ParentNamestringThe name of the parent object, if applicable.
TypeNamestringThe type of object.

Related Scopes

ClassicGranular
manage:jira-configurationread:audit-log:jira
read:user:jira

JiraAudits

The JiraAudits table stores records of audit events from Jira. Each record captures information about an event, including who performed the action, when it occurred, what category it falls under, and details about the change. This data helps track user actions, system changes, and other critical events for auditing and compliance purposes.

NameTypeDescription
AuthorAccountIdstringThe unique account ID of the user who performed the action.
AuthorKeystringA legacy identifier for the user who performed the action.
BatchDatedatetimeThe date and time data was synced to our database.
CategorystringThe category of the audit event. Categories help classify different types of events.
ConfigIDintegerThe ID of the configuration within Compyl.
CreateddatetimeThe date and time when the audit record was created.
DescriptionstringAdditional details about the audit event, which may provide context for the change.
EventSourcestringThe system or plugin that triggered the audit event.
IDintegerA unique identifier for the audit record
RemoteAddressstringThe IP address or hostname of the machine from which the action was performed.
SummarystringA brief description of the audit event, summarizing what happened.

JiraGroups

The JiraGroups table stores information about user groups in Atlassian Jira. A group in Jira is a collection of users that can be assigned permissions, roles, and access rights across different Jira projects and applications. This table helps manage and organize user access within Jira-integrated systems.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
GroupIDstringThe unique identifier for the Jira group.
NamestringThe human-readable name of the Jira group

Related Scopes

ClassicGranular
read:jira-userread:group:jira

JiraIssues

The JiraIssues table stores information about Jira issues retrieved from an external Atlassian Jira system. Each record represents a unique issue, capturing details such as the issue's type, status, summary, description, assigned user, priority, and links to related documents. This data helps in tracking, managing, and analyzing Jira issues within our system.

NameTypeDescription
AssigneeIDstringThe unique identifier of the Jira user assigned to resolve the issue.
BatchDatedatetimeThe date and time data was synced to our database.
BatchIDintegerThe ID of the batch.
ConfigIDintegerThe ID of the configuration within Compyl.
DateAddeddatetimeThe date and time when the issue was first added to our database.
DateEditeddatetimeThe last time the issue was modified in our system.
DescriptionstringA detailed description of the issue, providing additional context, steps to reproduce, or other relevant information.
DocumentLinkstringA URL to any related documents or attachments associated with the issue.
DueDatedatetimeThe deadline for resolving the issue, if one is specified in Jira.
HyperlinkstringA direct URL to the Jira issue, allowing users to quickly access the issue in Jira.
IDintegerA unique identifier for the Jira issue.
IssueTypestringThe type of Jira issue, such as "Bug," "Task," "Story," or "Epic." This helps classify the nature of the issue.

JiraIssueComments

The JiraIssueComments table stores comments associated with Jira issues.

NameTypeDescription
AuthorAccountIDstringThe Atlassian account ID of the user who authored the comment.
AuthorAccountTypestringThe account type of the comment author (for example, atlassian, app, or customer).
AuthorActivebitIndicates whether the comment author account is active.
AuthorDisplayNamestringThe display name of the user who authored the comment.
AuthorEmailAddressstringThe email address of the comment author when privacy settings allow it to be returned.
AuthorSelfstringThe REST self URL for the comment author.
AuthorTimeZonestringThe time zone associated with the comment author.
BatchDatedatetimeThe date and time data was synced to our database.
BodyContentSerializedstringThe serialized ADF content array for the comment body.
BodyTypestringThe ADF document type for the comment body (typically doc).
BodyVersionintegerThe ADF document version for the comment body.
CommentIDstringThe unique Jira comment ID. Part of the composite primary key with ConfigID.

Related Scopes

ClassicGranular
read:jira-workread:field.default-value:jira
read:field.option:jira
read:field:jira
read:group:jira
read:issue-details:jira

JiraPermissions

The JiraPermissions table stores permission-related data retrieved from Atlassian's Jira API.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
DescriptionstringA textual description of the permission scheme.
IDintegerUnique identifier for the permission entry.
NamestringThe name of the permission scheme, which must be unique within Jira.
TypestringSpecifies the type of permission holder

Related Scopes

ClassicGranular
read:jira-workread:application-role:jira
read:avatar:jira
read:field:jira
read:group:jira
read:permission-scheme:jira
read:permission:jira
read:project-category:jira
read:project-role:jira
read:project:jira
read:user:jira

JiraPermissionSchemes

This table stores information about Jira permission schemes, which define sets of permissions assigned to users, groups, and roles within Jira projects.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
IDintegerThe unique identifier for the Jira permission scheme
NamestringThe name of the permission scheme.
TypestringThe type of the permission scheme.

Related Scopes

ClassicGranular
read:jira-workread:application-role:jira
read:avatar:jira
read:field:jira
read:group:jira
read:permission-scheme:jira
read:permission:jira
read:project-category:jira
read:project-role:jira
read:project:jira
read:user:jira

JiraProjectRoles

This table stores information about different roles assigned within Jira projects. A project role defines a specific set of users and groups with designated permissions for a project.

NameTypeDescription
AdminbitIndicates whether this role is the admin role for the project.
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
DescriptionstringA brief explanation of what the role represents.
IDintegerUnique identifier for the project role.
NamestringThe name of the project role.
ProjectIDstringThe ID of the project this role is associated with.
RoleConfigurablebitSpecifies whether the role is configurable for this project.

Related Scopes

ClassicGranular
manage:jira-configurationread:avatar:jira
read:group:jira
read:project-category:jira
read:project-role:jira
read:project:jira
read:user:jira

JiraProjects

Each project represents a collection of issues and configurations within Jira.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
IsPrivatebitIndicates whether the project is private (restricted to certain users).
KeystringThe short identifier used for the project in Jira
NamestringThe name of the project as displayed in Jira.
ProjectIDstringThe unique identifier for the project in Jira.
ProjectLeadIDstringThe unique identifier of the user who leads the project.

Related Scopes

ClassicGranular
read:jira-workread:application-role:jira
read:avatar:jira
read:group:jira
read:issue-type-hierarchy:jira
read:issue-type:jira
read:project-category:jira
read:project-version:jira
read:project.component:jira
read:project.property:jira
read:project:jira
read:user:jira

JiraUsers

This table helps track user details, such as their name, email, account type, and activity status, as well as their associated permissions, project roles, and groups.

NameTypeDescription
AccountIDstringThe unique identifier for a Jira user across all Atlassian products.
AccountTypestringSpecifies the type of user account.
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
DisplayNamestringThe display name of the user.
EmailAddressstringThe email address of the user.
IsActivebitIndicates whether the user is currently active in Jira.
NamestringThe name of the user.

Related Scopes

ClassicGranular
read:jira-userread:application-role:jira
read:avatar:jira
read:group:jira
read:user:jira

Bridge Tables

JiraApplicationRoles_JiraGroups

Bridge table for application roles ands groups.

NameTypeDescription
JiraApplicationRoleConfigIDintegerThe ID of the configuration within Compyl.
JiraApplicationRoleIDintegerThe ID of the application role.
JiraGroupConfigIDintegerThe ID of the configuration within Compyl.
JiraGroupIDstringThe ID of the group.

JiraAssociatedItems_JiraAudits

Bridge table for associated items and jira audits.

NameTypeDescription
JiraAssociatedItemConfigIDintegerThe ID of the configuration within Compyl.
JiraAssociatedItemIDstringThe ID of the associated item.
JiraAuditConfigIDintegerThe ID of the configuration within Compyl.
JiraAuditIDintegerThe ID of the jira audit.

JiraGroups_JiraPermissions

Bridge table for groups and permissions.

NameTypeDescription
JiraGroupConfigIDintegerThe ID of the configuration within Compyl.
JiraGroupIDstringThe ID of the group.
JiraPermissionConfigIDintegerThe ID of the configuration within Compyl.
JiraPermissionIDintegerThe ID of the permission.

JJiraGroups_JiraProjectRoles

Bridge table for groups and project roles.

NameTypeDescription
JiraGroupConfigIDintegerThe ID of the configuration within Compyl.
JiraGroupIDstringThe ID of the group.
JiraProjectRoleConfigIDintegerThe ID of the configuration within Compyl.
JiraProjectRoleIDintegerThe ID of the project role.

JiraGroups_JiraUsers

Bridge table for groups and users.

NameTypeDescription
AccountIDstringThe ID of the the account.
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
GroupIDstringThe ID of the group.

JiraPermissions_JiraProjectRoles

Bridge table for permissions and project roles.

NameTypeDescription
JiraPermissionConfigIDintegerThe ID of the configuration within Compyl.
JiraPermissionIDintegerThe ID of the Permission.
JiraProjectRoleConfigIDintegerThe ID of the configuration within Compyl.
JiraProjectRoleIDintegerThe ID of the project role.

JiraPermissions_JiraUsers

Bridge table for permission and users.

NameTypeDescription
JiraAccountIDstringThe ID of the Account.
JiraPermissionConfigIDintegerThe ID of the configuration within Compyl.
JiraPermissionIDintegerThe ID of the Permission.
JiraUserConfigIDintegerThe ID of the configuration within Compyl.

JiraPermissionSchemes_JiraPermissions

Bridge table for Permission Schemes and Permissions.

NameTypeDescription
JiraPermissionConfigIDintegerThe ID of the configuration within Compyl.
JiraPermissionIDintegerThe ID of the Permission.
JiraPermissionSchemeConfigIDintegerThe ID of the configuration within Compyl.
JiraPermissionSchemeIDintegerThe ID of the Permission Scheme.

JiraProjectRoles_JiraUsers

Bridge table for Project Roles and Users.

NameTypeDescription
JiraProjectRoleConfigIDintegerThe ID of the configuration within Compyl.
JiraProjectRoleIDintegerThe ID of the Project Role.
JiraUserAccountIDstringThe ID of the User Account.
JiraUserConfigIDintegerThe ID of the configuration within Compyl.

Did this page help you?