Skip to main content

Retrieve JIRA Authentications

Getting a JIRA Authentication by id

The following query retrieves a JIRA Authentication by id:

query GetJIRAAuthentication($jiraAuthenticationId: ObjectID!) {
node(id: jiraAuthenticationId) {
... on JiraAuthentication {
name
cloudId
jiraUrl
createdAt
updatedAt
}
}
}

Try in explorer

Listing all JIRA Authentications in a given account

The following query retrieves the JIRA Authentications in a given account, by providing the account id in id argument:

query GetAccountJIRAAuthentications($accountId: ObjectID!) {
node(id: $accountId) {
... on Account {
jiraAuthentications {
nodes {
name
cloudId
jiraUrl
createdAt
updatedAt
jiraIntegrations(first: 100) {
name
jiraProjectId
jiraIssueTypeId
createdAt
updatedAt
}
}
}
}
}
}

Try in explorer