Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch data from jira rest api without using username and password

FAsmani September 21, 2021

How to fetch data from jira rest api without using username and password

2 answers

1 accepted

2 votes
Answer accepted
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 21, 2021

Hi @FAsmani 

You have to generate API token from your account. Refer to this page.

I hope it helps.

Ravi

FAsmani September 21, 2021

Thank u!

FAsmani September 21, 2021

Hello @Ravi Sagar _Sparxsys_

I am trying to use this,

https://auth.atlassian.com/authorize? audience=api.atlassian.com& client_id=YOUR_CLIENT_ID& scope=REQUESTED_SCOPE_ONE%20REQUESTED_SCOPE_TWO& redirect_uri=https://YOUR_APP_CALLBACK_URL& state=YOUR_USER_BOUND_VALUE& response_type=code& prompt=consent

 

But I am not able to figure out the state parameter. If you please help me, I would really appreciate it.

https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/#siteaccess

1 vote
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 21, 2021

If you could do that, then this would be a serious security breach.. Thank god you can't! :)

Perhaps in a public accessed instance, you would be eligible to get the data without a username and pass.

What do you want to accomplish with that? What is the reason to ask this question?

FAsmani September 21, 2021

I want to use token instead of username and password

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events