Behaviours: Field dependent on several other fields

I have a use case, in a transition screen, where I need to calculate "priority points" based on the input in several other single select fields. When a value has changed in a select list field, the value must be updated in the field that shows the "priority points".

It would be possible with one behaviour script per select list field, but it would be messy because combinations of values generates different "priority points". I would really prefer one script.
Is this possible? 

1 answer

1 accepted

1 vote
Accepted answer

Hi Peter,

I think you answered your own question, you must have on script per field that it will trigger when the field's value changes. I suppose, if is not important to calculate the priority points in the transition screen, you could go with a post function ? 

regards, Thanos

OK, It may be possible to put attach generic script to several fields.
Postfunction will not do. It's a requirement that the user must see how the "Priority points" changes based on which options are selected. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

How do your teams prepare for really high (planned) traffic days like Cyber Monday?

Hi there! Shannon from Statuspage here.  👋  With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...

58 views 0 5
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you