How can I get an API that I insert into the code of a personal tool, that will ensure that there has to be some authentication to access the data provided by JIRA? Also, I can't find the API link for JIRA data. Sorry for so many questions and thanks.
Hi Nicole,
When you use the REST API to interact with Jira Cloud, authentication will be always necessary to make sure that the user has access to the information being requested.
In your code, you could declare variables to request credentials that will be sent and used to validate the request.
For instance, this curl command will authenticate the user to then retrieve all the fields in the instance:
curl --user email@example.com:<api_token> \ --header 'Accept: application/json' \ --url 'https://your-domain.atlassian.net/rest/api/2/field'
We have developer links with REST API examples so I'd definitely recommend you to check'em out! These lists contain all the endpoints you can use to get information for Jira:
* https://developer.atlassian.com/cloud/jira/platform/rest/#about
* https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/
Under Authentication you'll find the authentication options such as Basic Auth or oAuth.
I hope this was helpful, Nicole.
Be sure to ask if you have further questions about this!
Cheers,
Matheus Schonarth
Dear Matheus,
Thank you so much for all of your help! It helped clear up so much help - thank you so much again! If anything comes up, I'll ask.
Thanks,
Nicole
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nicole,
You're very welcome! I'm really glad that I could help.
I'll be here if you need any further on this!
Cheers,
Matheus Schonarth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.