Modifying 'status' field permissions

I want to programmaticaly (i.e. through a script and/or JIRA API) modify the Status field on a JIRA ticket/issue. Presumably Status field is closely related to Workflow. In the screenshot below, the buttons highlighted within that professional red circle are the buttons I want to manipulate through my script, which will then - I assume - update the Status field of the ticket/issue to the corresponding value.

Snap 2017-06-22 at 12.42.56.png

When running the script, however, I seem to be getting an error: "text: Field 'status' cannot be set. It is not on the appropriate screen, or unknown.". Indeed, when I make an editmeta API call, the status field does not appear there (in other words, it doesn't appear to be modifyable, while some support tickets suggest it should be for this to work).

With all that in mind, could you advise where I can find the page in the JIRA system / settings pages, that will allow me to configure that field accordingly?

Beware that I'm not an administrator of that particular JIRA setup thus I have no visibility (or have restricted visibility) of what the configuration pages look like. However I might be able to get additional information from the Administrator(s) team.

1 answer

0 vote

Status is not a field.  It's a display of where an issue is in the workflow.  You should not be trying to "edit" it.

If you want to change a status, you should use a workflow transition from the current status to the new one.

Thanks for the quick reply.

Is there any way I can do that through the JIRA API?

Aleksandr Zuevich Community Champion Jun 22, 2017

Hi Peter,

I believe you can find this link useful: https://docs.atlassian.com/jira/REST/server/#api/2/workflow

Many thanks to both of you!

The actual API call to get this all to work was https://docs.atlassian.com/jira/REST/server/#api/2/issue-doTransition

 

Sorted!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,269 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot