We need an automation if we have 2 customfields we need to update 2nd field based on 1st field value

thumuluru_shreya
Contributor
February 9, 2025

Ex:

  • I have System dropdown field is there in that Occurrence, Value and Data are the 3 values present.
  • I have 2nd customfield named as result numeric field is present.
  1. if user selects `Occurence in result field it update as 1
  2. if user selects Value in result field it update as 2
  3. if user selects Data in result field it update as 3.

 

Based on system field dropdown values the result field should auto update.

For this I need single automation with the above conditions.

 

Can anyone help on this

 

 

2 answers

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2025

Hello @thumuluru_shreya 

What is your experience with creating Automation Rules? Have you tried to create this one?

You could use the Field Value Changed

https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Field-value-changed

You would use the If/Else condition to evaluate the first field's value.

https://support.atlassian.com/cloud-automation/docs/jira-automation-conditions/#If-else-block

Then use the Edit action under each If/Else-if block to set the second field.

thumuluru_shreya
Contributor
February 9, 2025

@Trudy Claspill , Could you please elaborate with my example?

0 votes
Stephen_Lugton
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 10, 2025

@thumuluru_shreya 

Have a look at the links @Trudy Claspill shared, they will show you how to set up the trigger and conditions for your automation.

 


 

For your example, if you follow those instructions with the following values you should gt the result you want:

When: Field Value Changed
Field to monitor: Dropdown field

Condition: IF or Else

IF Condition: Issue Fields Condition
Dropdown field = Occurrence

Then: Edit Issue
Results Field = 1

Else Condition: Issue Fields Condition
Dropdown field = Value

Then: Edit Issue
Results Field = 2

Else Condition: Issue Fields Condition
Dropdown field = Data

Then: Edit Issue
Results Field = 3

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events