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
Answer 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
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

386 views 6 0
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