Hi everyone !
How do I get the list of pull requests related to a issue Jira in Jira app in Forge platform. I tried using the /rest/dev-status/1.0/issue/details?issueId=${payload?.issueKey}&applicationType=stash&dataType=pullrequest. but it return 401 error, and message Unauthorized; scope does not match. It seems that this API does not support Forge platform.
Thanks in advanced !
Hey @HieuNguyen
I can’t find a documentation about this endpoint, and it’s seems like it isn’t an official API:
@FlixAndre Yes, I think it is not official API, but when I call it in browser, it seems to return correct result. Is there any other API I can use to replace above unofficial API?
Ok, thanks for the details.
I don’t know which endpoint to use, maybe someone from Atlassian team can help you.
1 Like
Hello @HieuNguyen
Is there any other API I can use to replace above unofficial API?
Nope.
If you Google “Using the Jira REST API, how can I get pull requests” you’ll find all the times someone has asked that question and eventually find the matching JAC feature request asking for an endpoint to do just that.
That endpoint you’re currently trying to access is not a public API endpoint and cannot be used outside the context of the web browser session for the UI. Just Google “Jira /rest/dev-status/1.0/issue/details endpoint access” to find all the times someone has asked about accessing it, such as this thread over on the public Community Forum where someone asked the same question one week ago.
1 Like