How can I get all the events that change a deployment status on a jira?

Christopher Gordon May 6, 2024

I have a project with many GitHub Repos and many workflows on each repo. We setup a deployment to register with an Environment when we deploy.  At some point in the last couple of months the deployments tab has started to be inaccurate.  I'm unsure what is causing the deployment status to change or if its being overwritten with failure, and I don't see how to get a history of this.

How can I see deployment objects from the GH side? Or how do you recommend that I troubleshoot this?

1 answer

1 accepted

0 votes
Answer accepted
Christopher Gordon May 7, 2024

curl -L \                                                       

 -H "Accept: application/vnd.github+json" \

-H "Authorization: Bearer ghp_fakeToken239802930" \

-H "X-GitHub-Api-Version: 2022-11-28" \

https://api.github.com/repos/{OWNER}/{REPO}/deployments

 

https://docs.github.com/en/rest/deployments/statuses?apiVersion=2022-11-28#list-deployment-statuses

Suggest an answer

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

Atlassian Community Events