Forums

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

Why TransitionValidationResult always return failed?

Ramesh Lakshmanasamy July 20, 2018

After issue saved i am trying to update status using TransitionId but it always returned failed.

1 answer

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 27, 2018

Hello Ramesh,

To change the status you will need to transition the issue

Check out:

Use the format:

curl -D- -u user:pass -X POST --data {your-json-data} -H "Content-Type: application/json" http://<BASE_URL OR IP:PORT>/jira/rest/api/2/issue/<ISSUE-KEY>/transitions?expand=transitions.fields

With the json data something like this:

{
    "update": {
        "comment": [
            {
                "add": {
                    "body": "Put a comment here"
                }
            }
        ]
    },
    "transition": {
        "id": "#"
    }
}

Regards,
Earl

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events