Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve issue deployment date

Mick
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!
November 22, 2021

Hi, I'm trying to build a set of reports external to jira which mashes up data from a variety of sources. I have deployment data coming from azure devops pipelines which shows in the deployments menu of connected projects. What I'd like to do is to get the deployment date and environment for each issue in the project through the REST API. 

 

Is there a way to do this currently?

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 24, 2021

Hi Mick,

There is a REST API endpoint for retrieving deployment data, you can see that over in GET /rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}.

However this endpoint is a bit different than many of our other endpoints in that the authorization requires either a Connect JWT token or an OAuth token for an integration.  I hope this helps.

Andy

Jeff Tchang
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!
June 29, 2023

This endpoint does not seem to work with OAuth token for GET deployments. POST seems to work.

Suggest an answer

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

Atlassian Community Events