Hi,
Is there a JIRA rest api endpoint to query with the JIRA number and get back the relevant branches in Stash which we can see in the right hand side of the JIRA under "Development" section.
Thanks
Community moderators have prevented the ability to post new answers.
I tried the following:
/rest/dev-status/1.0/issue/detail?issueId=${yourIssueId}&applicationType=stash&dataType=repository
All I am getting is the instance information. The repositories are blank. Also in the response there is no errors listed. I tried with another issue and I am getting back results. The difference is the new issue has branch which has commits in it.
So is it like this that if you just create a branch and yet to add a commit under that new branch, your branch information is not going to show up?
Does that issue have branches that you can see under dev panel? Are you trying with the same user id?
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.
Probably, yes. I haven't tried all combinations. As long as the branch appears in dev panel, you should get it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use /rest/dev-status/1.0/issue/detail?issueId=${yourIssueId}&applicationType=stash&dataType=pullequest
Or use /rest/dev-status/1.0/issue/detail?issueId=${yourIssueId}&applicationType=stash&dataType=repository depending on what details you need.
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.