Closed carlosparadis closed 7 months ago
@waylonho Not sure if you already had this worked out but, it is here if you need to do some more testing.
Example API call that works on browser if you are already logged in:
Use Pretty Print to decompose: https://urlprettyprint.com/
The Kaiaulu JIRA Sandbox is now used in our JIRA Notebook as part of PR #279. I am therefore closing this issue.
This costed me some time to figure out, so it should go on the Notebook involving JIRA Download.
Kaiaulu now has a JIRA issue tracker (https://sailuh.atlassian.net/jira/software/c/projects/SAILUH/issues) for experimenting with the API downloader, as I plan to expand this in the future.
One issue with the free version of JIRA is that it is closed access by default. To the best of my understanding, we can't also make it public. This, in turn means, the downloader Notebook will fail without some form of authentication.
This page explains how to create an API token, for the project:
https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
It seems some APIs expect the token to be added to the header, but JIRA API Token merely can serve as a replacement to the password itself. So, the example flag using curl is
user
. This is the same parameter one would type their username:password. Therefore, for JirAgileR crawler, the following code can be used:In essence, basically the existing code plus the two additional parameters for
username
andpassword
. The Status code we want it to return is 200.