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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,414,280
Community Members
 
Community Events
170
Community Groups

How to get Deployment information out of Jira?

Issues have Releases information
image.png

A level deeper, there is a Deployment information

image.png

How can I get this deployment information into Confluence?
Is there a possibility of retrieving that via Jira API?

2 answers

1 accepted

1 vote
Answer accepted
Lenin Raj Atlassian Team Jan 28, 2020

@Rodion Martynov 

This information isn't available via the 'Get Issue' API. However if you know the individual deployment's key (when you submitted it), you can retrieve it via the endpoint @Max Foerster - K15t  mentioned.

 

However, you can use deployment information in JQL as well. See https://confluence.atlassian.com/jiracorecloud/advanced-searching-developer-reference-967312946.html (Deployments section)

 

Using JQL, you can use 'Jira issues' macro to show appropriate issues in Confluence.

@New Yoker  

Thank you for answering.

 

We need that information in our change control log that we retrieve based on the `Jira Issue` in status `DONE` and we don't have the deployment key at that point.

 

Is it possible to ask Atlassian Team to include deployment information into Jira Confluence Changelog Report and/or Jira API via GET by Issue?

Can you point out where is the place to do that, please?

1 vote

Hi @Rodion Martynov ,

a had a quick glance at the Cloud REST API documentation. Is this what you're looking for?

Get a deployment by key 

Best, Max

I can successfully submit deployment information via

https://api.atlassian.com/jira/deployments/0.1/cloud/<tenant-id>/bulk

but I get a 404  when trying to retrieve it via

https://api.atlassian.com/jira/deployments/0.1/cloud/<tenant-id>/pipelines/<pipeline-id>/environments/<environment-id>/deployments/<deployment-sequence-number>

Can you advise what I'm doing wrong or where I can get more information?

I am exactly on same boat.

for bulk posting how to i get the pipeline id and max of deployment sequence number. so that we can bulk post.

Suggest an answer

Log in or Sign up to answer