I am leveraging Python to attempt to retrieve JIRA commits from the developer panel and the standard REST API that is public does not return that information needed. I have shifted my focus trying to use the private API to achieve gathering the needed information. the API specifically I attempt to call is:
https://<JIRA-IP>/rest/dev-status/latest/issue/summary?issueId=<JIRAkey>
I provide my user email, my PAT token and the URL with the key and I receive 401 error codes.
However if I call the public key with my token, I receive good results. Is there some permissions I require to leverage this API different from the public API?
Thx
Henry
Hello @Henry hvconrail
Jira does not support access to any of its internal (private) API endpoints outside the context of the web browser session.
If you Google "How can I access Jira's internal API endpoints?" you will find all the times this question has asked and answered in the past.
Hi @Henry hvconrail,
As @Sunny Ape mentioned, Jira's private/internal APIs aren't meant for external access - they're browser-session specific and unsupported.
Alternative Solutions for Commit Data:
/rest/api/3/issue/{issueKey}?expand=changelog
Recommended Path: Query your Git provider's API directly using commit message parsing for Jira keys - this is more reliable than trying to access unsupported private APIs.
The developer community Carlos mentioned is definitely worth checking for more advanced integration patterns!
Need help setting up any of these alternatives?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Henry hvconrail ,
Welcome to the Community! In case you don't find the information here, there is also the Atlassian developer community here that may also provide answers and tips related to your question
https://community.developer.atlassian.com/
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.