Getting Invalid ID while getting commits for a jira issue

Hi,

I want to get the list of commits for a jira bugId.

I am doing [GET], https://<instance>/rest/dev-status/1.0/issue/detail?issueId=GE-16777&applicationType=stash&dataType=repository

Response:

{
"errorMessages": [
"An invalid ID was provided: 'GE-16777'"
],
"errors": {}
}

Note: GE-16777 is of type SprintBug and i am able to get other details via

https://<instance>/rest/api/2/issue/GE-16777

2 answers

This widget could not be displayed.

I am having the same issue. The issue is valid when viewed through /rest/api/2/issue/{issueId} but fails in the dev-status case. Any resolution?

This widget could not be displayed.

@Parthiban PeriasamiI am not sure if this helps you, but your 'GE-19777' is actually NOT an issue ID. This was very confusing for me to figure out, but if you go to your GE-19777 issue and examine the Edit button, for example, you will see a very different URL being used for issueId (something that's all numbers).

I am not currently sure how to locate the unique identifier from the human-readable (and REST-browsable) GE-19777, but I will update if it can be discerned.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

66 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you