How to get Deployments info from Jira REST API

Eric Engel January 12, 2023

Hi.  Using the Jira REST API, I'm trying to obtain the data listed in the Development table in the Deployments tab seen below, such as Pipeline, Environment Name, Deployment, etc.

Capture.PNG

Most of the tabs in this modal, such as the branches, commits, etc, are available from /rest/dev-status/latest/issue/details, but the deployment tab info is nowhere to be found.  I tried looking through a other calls, such as /rest/dev-status/latest/issue/summary and /rest/api/3/issue/{id}/properties, but it doesn't seem to be there either.

Wondering if anyone knows how I can get this information?

1 answer

2 votes
David Bakkers
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.
February 27, 2023

Hello @Eric Engel 

The Deployment REST API endpoints are part of the Jira Software Cloud module.

Drew McPayne
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 14, 2023

Hello there,

 

I have the same issue - trying to get the list of deployments for a Jira issue.

The deployment REST API endpoints approach it from the pipeline, not the issue?

 

I don't know why but JQL to return issues with a deployment name doesn't seem to work repeatably.  I don't know why..?

So - I'm looking for another way to get the data - if anyone has any ideas..?

Anibal Carracedo
Contributor
November 20, 2024

Hi Drew, 
Were you able to obtain this information? I am trying to do the same.

Suggest an answer

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

Atlassian Community Events