is it possible(via script) to set the available options of a custom field select list, based on the project an issue is being created in?
E.g. field selectlistA.
If we are in Project A, selectlistA should have options: 1,2,3,4.
If we are in Project B, selectListA should have options: 2,4,6,8.
Many thanks in advance
Hi @Kevin Klesz
You don't need to do this specific use case via scripts. You can simply use custom fields contexts.
This way, you'd create a context and map it to project A, where the dropdown values are 1,2,3,4 and another context mapped to project B where the values are 2,4,6,8
Hope it helps!
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