Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,059
Community Members
 
Community Events
165
Community Groups

Need assistance with Jira Cloud Automation

RNV Jira1 I'm New Here May 30, 2022

Hi All,

I am new to Jira automation and i have the requirement of to complete the following -
We 4 Numeric value custom fields in Jira cloud and i need help with creating an automation rule to get the highest value of the first 3 fields to be populated on the 4th field.

Example:
Field 1 - Drop down values 1,2,3,4,5 
Selected value - 4

Field 2 - Drop down values 1,2,3,4,5 
Selected value - 1

Field 3 - Drop down values 1,2,3,4,5 
Selected value - 5

Field 4 - Drop down values 1,2,3,4,5 
Need the value of "Field 3"  which is 5, as that is the highest value from the above 3 fields

Any guidance here will be very helpful, thank you in advance

3 answers

1 accepted

3 votes
Answer accepted
Alex Koxaras Community Leader May 31, 2022

Hi @RNV Jira1 and welcome to the community!

Try the following, it worked for me:

findMaxValue.png

  • Create a rule
  • Add as trigger "Field Value Change" and select all numeric fields you want to this rule to get triggered
  • Create a variable with a name "maxValue" and enter
    {{#=}}max({{issue.fields.NumSel1}},{{issue.fields.NumSel2}},{{issue.fields.NumSel3}}){{/}}
  • Add a new action to edit the last single select field you want
  • Add the {{maxValue}} variable you created

 

Cheers,
Alex

RNV Jira1 I'm New Here May 31, 2022

Hello Alex,

Thank you for the quick reply, this worked as expected and we are getting the required values. Thanks again

Have a good day 

Like Alex Koxaras likes this
Alex Koxaras Community Leader May 31, 2022

Good to know that this helped you!

0 votes

Hi, @RNV Jira1 

Another solution, you can check if you're comfortable with Marketplace plugins, is Business Process Manager add-on, developed by my team.

For solving your case use Form Logic with if/then rules. Here is an example:

image.png

Hi @RNV Jira1  Welcome to Atlassian Community!

Are these (Field 1, Field 2, Field 3 and Field 4) number fields or single select list fields? 

Thanks

V.Y 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

51 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you