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

Getting a deployment issue list using API

Edited

I am trying to the list of JIRA tickets that a deployment is addressing. On the Deployment page, there is a tab where I can select the linked JIRA issues, which can be seen in the screenshot below.

deployment_pic.jpg

I am trying to use the Bitbucket cloud API to list these issues in a report, but I can't seem to figure out how to get the issues from the API. When I do a get request of the deployment using the url:

"https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/deployments/{deployment_uuid}"

I get the information about the deployment itself, but not the connected issues. Is there a way to get these using the API?

2 answers

1 accepted

0 votes
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 14, 2022

Hey @Robert Esposito 

G'Day!

I believe we don't have an API endpoint to get the Jira issue key from the deployment tab at this moment. Bitbucket only creates a link to the Jira issue, and we don't store any Jira information on our end; hence there's no endpoint to fetch this information.

I would suggest checking this on the Jira API side to see if it's possible:

Development Information 

Cheers,
Syahrul

@Robert Esposito I was looking for the same thing, have you figure it out?

0 votes
David Berclaz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 24, 2022

Hi @Robert Esposito,

There is no magic and here is a recap of what we have experimented at Apwide regarding Deployment Management with Jira and Bitbucket:

DevOps way to track CI/CD Deployments and Agile Release Management

Feel free to contact my colleague Guillaume if you need more info.

Cheers,

David

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events