Skip to main content

Retrieve JIRA Authentications

Getting a JIRA Authentication by id

The following query retrieves a JIRA Authentication by id:

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

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:

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