Forums

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

Not able to Access JIRA Api through Scripts

Prashant chauhan July 2, 2019

Not able to Access Jira Api through Scripts - It is showing Authorization Failed - 401 

Following are the APIs

https://timesgroup.jira.com/rest/api/2/search

Please help

 

Thanks,

Prashant Chauhan

1 answer

0 votes
Alexey Matveev
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.
July 3, 2019

Hello,

You need to authenticate your Rest Api call.

You can find more info here:

https://developer.atlassian.com/cloud/jira/service-desk/jira-rest-api-basic-authentication/

Prashant chauhan July 3, 2019

Thanks Matveev,

We are using the same as of document, It was working fine till last 15 days, after that it starts showing 401

API is giving response in browser

Is there any configuration in JIRA, need to enable ?

Alexey Matveev
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.
July 3, 2019

There is no configuration. Make sure that you used the API token as the password, not the real password.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events