Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Query Change Management configuration in JSM via GraphQL

Ken Young
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 13, 2023

I am tying to access my DevOps in JSM via the GraphQL api.  Specifically I am trying to query the connected services list in Change Management (specifically github) to get a list of services that are connected/configured for our deployment notifications from GitHub.   I can't seem to determine what query to run.  Any suggestions or other that have been able find this information (other than the GUI)?

2 answers

1 accepted

0 votes
Answer accepted
Ken Young
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 13, 2023 • edited

 

There may be a more direct route, but here is the query I was able to utilize using the devOps query using Atlassian's Graphql api:

Atlassian endpoint:  https://my-company.atlassian.net/gateway/api/graphql


query ChangeMgmt {
devOpsServices(cloudId: "--site--", first: 300) {
nodes {
id
name
organizationId
description
compassId
compassRevision
serviceType {
name
}
jiraProjects {
nodes {
relationshipType
description
devOpsService {
name
}
jiraProject {
name
description
key
}
}
}
}
totalCount
}
}

 

The query returns of the of services on my site, and under jiraProjects > nodes the "relationshipType" = "CHANGE_MANAGEMENT for there i have set deployment tracking in my service project.   This works for now but there is possibly/probably a better path to take (i.e. through the JSM/Jira project queries I assume)

0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 13, 2023

@Ken Young -

Since GraphQL is a third party platform, you should contact the vendor directly to obtain technical support.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events