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?
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
This endpoint does not seem to work with OAuth token for GET deployments. POST seems to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.