Please help me to select approach to creating Behaviours.
I need to filter possible values in field Priority. The field is custom.
It depends on Issue type, Customer (customfield), Product (customfield).
I'm looking at option to create one Behaviour which will have a script for each of this three fields. What are your thoughts?
Or maybe anyone has suggestions that can save me some time?
Seems like you would need the same script on all 3 fields so that changing each field triggers a recalculation of your priority.
The best way to achieve that would be to store a script in your script root and point to the script from each server-side script for each field in the behavior. This way, you only have 1 piece of code to maintain.
See this reference:
Then in behavior, this section will be relevant:
This new feature (I haven't used it yet) may also help you.
Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...
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