Forums

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

JIRA Rest API authentication always returns 404

Baiju Babu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2018

 Hi,

Rest API always showing 404- not found on postman status and getting response like "Issue does not exists". Following are details I am providing in postman. Any help would be greatly appreciate.

URL: https://somehostaddress/rest/api/2/issue/issueID/transitions

Method : POST

Authentication : Basic Authentication

User Name: user.user

Password: password.

JSON:   {   

    "transition": {

        "id": "641"

    },

     "fields": {

        "customfield_11102": null

    }

 

screen.PNG

2 answers

0 votes
Nic Brough -Adaptavist-
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.
January 28, 2018

A 404 on this call means your user is not logging in, the issue given does not exist or your user does not have permission to see and/or transition the issue.

0 votes
Timothy
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.
January 28, 2018

Why do I have the feeling that you did not change IssueID to the actual issue id? Did you?

Baiju Babu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2018

Did that as well before. result is same...

Suggest an answer

Log in or Sign up to answer