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?
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 ?
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.
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 ...
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