Forums

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

Update a custom field during the transition by using script runner.

Raju Anumula May 9, 2019

Hello Team,

1) I need to update the 'Epic Status(type=status of epic)' custom field during the transition. I think it is possible with a script runner, if yes please help me with a script I am not expertized in the script.

2) Clear the custom filed value during the transition?

 

Thanks in Advance.

 

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.
May 9, 2019

To update a field, see https://library.adaptavist.com/entity/change-the-value-of-a-custom-field-in-a-post-function  But remember that "status" is not a field, it is a display of the position of an issue in the process.

But, "Epic Status" is usually a field pulled down from the associated Epic, so updating that means updating the Epic, which would affect all the stories the Epic is related to.

Raju Anumula May 9, 2019

Hello @Nic Brough -Adaptavist- ,

Thanks for your quick response.

The code given is not compatible with my version of Jira, we are using Jira version 7.12.3

Suggest an answer

Log in or Sign up to answer