Hi All,
I am new to JIRA. I am trying to access JIRA through post man i am doing get access to URL
http://gauravj7.atlassian.net/rest/api/2/KPIT
with basic authentication user id gauravj7 and password **** but i am getting unauthorize access. is there anything i am missing?
Hello,
You need to use an API token instead of your password:
https://confluence.atlassian.com/cloud/api-tokens-938839638.html
No it didn't worked. I am hitting the URL in postman with Type as Basic Auth. Using user id as gauravj7 and password as what I set as password. can you please elaborate the steps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not sure what to elaborate. I gave you a link how you can generate an api token. Then use this token instead of your password
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You still use basic auth, but instead of the password, set the api token
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi it worked. Right now I am not getting error. But My queries are not giving output
Do I need to give special permission
Thanks for your reply. I changed as per your suggestion. Still I am not getting desired output
When I am using below query I am getting output
https://gauravj7.atlassian.net/rest/api/2/search?jql=assignee in "Gaurav Jain"
{
"errorMessages": [
"Field 'assignee' does not exist or this field cannot be viewed by anonymous users."
],
"warningMessages": []
}
When I want to see all issues under project then also I am not getting output. Please help on urgent basis
https://gauravj7.atlassian.net/rest/api/2/search?jql=project="KPIT"
{
"errorMessages": [
"The value 'KPIT' does not exist for the field 'project'."
],
"warningMessages": []
}
Please help me on urgent basis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are still not authenticated. Also the correct api for cloud is:
/rest/api/3/search
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.