How to get commit details and the repository details associated with a JIRA ticket from JIRA

I am looking for all commit ID details and repository details associated on a JIRA issue. I have tried using the below API call:

JIRA_RESPONSE=$(curl -v -s -u “$JIRA_USERNAME:$JIRA_PASSWORD”
-H “Accept: application/json”
“$JIRA_URL/rest/dev-status/1.0/issue/detail?issueIdOrKey={$JIRA_ID}&applicationType=stash&dataType=repository”)

1 Like

Hello @MonikaM

You cannot access that API outside of the web browser session as it’s not a public REST API endpoint.

Google ‘jira rest/dev-status/1.0/issue/detail’ to find where the same question has been asked before in other forums and also find the corresponding suggestion JSWSERVER-15768 in JAC.

Also, please do not create multiple accounts to ask the same question multiple times or to ‘like’ your own questions :frowning: