Forums

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

Update customer field value based on issue status

Yaniv L
Contributor
September 14, 2023

I have a custom single select field 'Bug State' with 3 options.

I want to use a script to update this field according to changes in the bug issue Status.

If Bug Status is 'Open' or 'In Progress' the 'Bug State' value = Open.

If Bug Status is 'Resolved' then the 'Bug State' value = Resolved.

If Bug Status is 'Blocked' or 'Closed' then the 'Bug State' value = Closed.

Using Jira Data Center.

Pls help,

Thanks

1 answer

1 accepted

2 votes
Answer accepted
Marc - Devoteam
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.
September 14, 2023

Hi @Yaniv L 

This could be easily achieved with Jira Automation. 

Rule trigger on status change, have validation that the issue is a Bug, then an edit action that will set the Bug status field to the correct value. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events