Automation to populate a field from multiple fields

lila
Contributor
March 12, 2025

 

I feel this should be easy .. but somehow i cant get it to work ..

In Jira Discovery, I need an automation to populate a 'Discipline' field by combining the values from 'Team (IP)' and 'Dependency'. When either 'Team (IP)' or 'Dependency' is added or edited, the 'Discipline' field should update to show the combined values.

Currently, editing one field overwrites the other in 'Discipline', and using 'Add to existing values' results in not removing the old value. 

Somehow also the automation always shows as "successful" even though the Discipline field might not get updated. 

Screenshots attached 

Screenshot 2025-03-13 at 4.28.20 PM.png

Screenshot 2025-03-13 at 4.29.45 PM.png
Screenshot 2025-03-13 at 4.29.51 PM.png
The second "then: is identical to the first one but with "Copy Dependency from current issue"

Thanks a lot 

2 answers

0 votes
Vishal Biyani
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.
March 12, 2025

@lila 

Expanding on what @Mohanraj Thangamuthu has indicated, can you try something like below or whatever will be your separator

{
"fields": {
"Discipline": "{{issue.Team (IP)}} - {{issue.Dependency}}"
}
}

0 votes
Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 12, 2025

Hello, Good day. Use the JSON option to update the field as shown in the below link. https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/

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