Automation to overwrite a custom text field when data already exists

Donna Thomas November 5, 2024

Hello,

I have an automation rule that updates a custom text field (Testing Approved By) using the smart values: {{issue.LOB1}} - {{now.mediumDateTime}}, when an issue is transitioned from "Ready for UAT" to "Ready for Migration."  Where LOB1 is the Line of Business tester in this case.  On occasion the LOB1 field is not filled in, so the custom text field  does not reflect the name of the tester.  Once the issue is updated with the correct tester, I need this Tester Approved By field to be replaced/overwritten with the new data.

Any thoughts would be greatly appreciated.

Thanks,

Donna

1 answer

1 accepted

2 votes
Answer accepted
Evgenii
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 5, 2024

Hi, @Donna Thomas 

Welcome to Atlassian Community!

You can make new rule, to trigger on field change. It must look for changes in field LOB1

If value changed, than add condition, to check, that this field is not empty.
After that add action to edit issue, select field "Testing Approved By" and fill it with {{issue.LOB1}} - {{now.mediumDateTime}} value. 

Donna Thomas November 5, 2024

Hi, Evgenii.

Thanks for the response.  I should have added, the field is not empty.  The first attempt populates it with the DateTime, just no LOB  (ex:  - Nov 4, 2024 1:13:19PM).  I need it replaced with; Donna Thomas - Nov 5, 2024 2:00PM.

Donna Thomas November 5, 2024

Sorry for my confusion.  I overlooked the word "not" in your response.  Your suggestion should work.  Thanks again.

Like Evgenii likes this

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