Hi all,
I'm trying to find a way that t-shirt estimation field dropdown values will be based on selected issue type:
epic - S, M, L
initiative - XL, XXL
Until today both epics or initiatives used all 5 options so I already have data in Jira that I don't want to affect (will remain the same until someone will try to update).
I've found a way (not sure if that's the correct one) with scrip runner to disable filed option.
As far as I understand, disable mean you don't see option but older data isn't affected.
I'm trying to figure out what the script should look like and how can I make sure it will run on any case of create or update scenarios.
Once I've a script, should it run as behavior? Automation rule?
Thanks in advance,
Guy
Trying again to see if someone knows how to solve this issue.
Thanks in advance.
Hi,
You can achieve this with a behaviour then bzsed on the issuetype your user will have different option for the field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Mohamed Benziane for your answer.
I've set a behavior mapped to Epic and Initiative and put the script on the initializer. Is that the correct place)?
It seems that when trying to update existing issue it's changing the options but when create new Epic or Initiative, values aren't set. Also if I'm changing the issue type on the create screen from epic to initiative or vice versa, it doesn't change the options.
Any idea how to solve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.