Hello,
it's about the fact that I want to access JIRA with a rest API. I use Postman for this. In Postman, all issues that have escalated should be displayed in JSON format.
The URL I use is:
https://jira.<NAME>.de/rest/api/3/issue/<issueID>
I use my e-mail address as my username and the token as my password.
When sending the get request I get the message 404 Not Found
Hi @Max Mustermann ,
welcome to the Atlassian community!
I think that the URL is incorrect. In order to use the following rest api (https://docs.atlassian.com/software/jira/docs/api/REST/9.3.1/#api/2/issue-getIssue) you should use JIRABASEURL/rest/api/2/issue/{issueIdOrKey}
In your case it should be https://jira.<NAME>.de/rest/api/2/issue/<issueID>
Rest Api version 3 is for the cloud but I think that you are on a server instance.
Hope this helps,
Fabio
Hello Fabio,
I then get the status: 401 Unauthorized in Postman.
As Autorization I am using my e-mail address as my username and the token as my password.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is another problem. Please read the following article about authentication https://developer.atlassian.com/server/jira/platform/rest-apis/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I read the article about authentication and authorization. I haven't figured out what to do differently.
The token has not expired. I am using Basic authentication.
It used to work with Postman. Now that I try it with the same data, it doesn't work anymore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't use token with Basic Authentication . Did u tried with Oauth 2.0?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Max Mustermann Have you found the solution?
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.