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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 2 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

13 views 0 3
Read article

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