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 edited

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
TAGS
Atlassian, Team '25 Europe, Atlassian conference, AI-powered teamwork, Atlassian events, keynote speakers, Barcelona tech conference, Atlassian Williams Racing, Carlos Sainz, Jenson Button, Mike Cannon-Brookes, Anu Bharadwaj, Atlassian Rovo

Atlassian Williams Racing is coming to Team '25 Europe 🏎️

Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.

Register now
AUG Leaders

Atlassian Community Events