Forums

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

I need to change status value according to another jira custom field value

Ghazi Ben Jalel November 24, 2014

Hello,

I have created a boolean custom field "IsFeedback" that has two value "True" and "False".
what I need exactly is to modify the "Status" field value according to custom field value as below:
1/ If "IsFeedback" is equal to "true" then "Status" should move to "Feedback" value.
2/ If "IsFeedback" is equal to false then "Status" should move to "Open" value.

PS: i have installed the add-on script runner that allows to create script field so there is a possibility to create IsFeedback as a scripted custom field and then enter related inline code to trigger steps 1/ and 2/

what is the inline script value and the Key value to be able to generate steps 1 and 2.

thank you,

1 answer

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.
November 24, 2014

You'll need to do this as a "listener" - listen for "issue updated" events, and then progress the issue through the workflow as appropriate.

There are some scripts built into the script runner which transition issues - those are a very good start.

Suggest an answer

Log in or Sign up to answer