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

This widget could not be displayed.

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 Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

157 views 1 3
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