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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

150 views 2 0
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