Forums

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

Change a blank custom field value back to its last value

Jelani Walton
Contributor
July 20, 2023

We have a problem where a custom field is necessary to make issues show in certain queues for different teams (Responsible Team). The issues have a default value set for the field, or it may be changed to a different team, but sometimes it gets removed by agents and it goes into a void where no team can see it. 

I want to create an automation that will, on a set internal, look for issues missing a value for the 'Responsible Team' custom field, and set the value back to whatever the last value was. How could I accomplish this? Thanks for your help. 

2 answers

1 accepted

3 votes
Answer accepted
Dave Mathijs
Community Champion
July 20, 2023

Hi @Jelani Walton ,

Have you tried using smart value {{changelog.customfield.fromString}} in your Automation rule?

Jelani Walton
Contributor
July 20, 2023

i have not. I will give that a whack

Like Sanjog Sigdel likes this
Jelani Walton
Contributor
July 20, 2023

This worked! Thank you!

2 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.
July 20, 2023

Have you thought about the easiest option?  Make the field mandatory on the issue, so a team always has ownership?  (Even when it's wrong, at least the team will have to look at it and say "hey, not for us, pass it to another team)

Dave Mathijs
Community Champion
July 20, 2023

People can still remove the existing value after it has been entered (unless you remove it from the Edit Issue Screen)

Like Sanjog Sigdel likes this
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.
July 20, 2023

Not if it is mandatory.  Mandatory fields have to be filled when you create, edit, or transition an issue.  Leave one blank (or set to "none" when it's a select list) and Jira won't let you commit your changes.

Suggest an answer

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

Atlassian Community Events