I am trying to use this option to tailor down the custom fields which are shown in an issue based on the options which are selected inside of that issue (e.g. if "Priority" == 'Major' show custom field "test1").
What would be the best way to do it? Using workflow transitions and screens or can a script be written to show a specific field when "Priority" is 'Major', and then to hide that one and show another one when it changes to 'Medium'?
Jira 8.2.4, Scriptrunner 5.5.9.1
I'm not sure if I understand you here, but "Fast-track an issue" listener forces a transition after a certain event if an issue fits some condition.
What you are asking looks more like some kind of behaviour case for me, where depending on the issue's priority you hide or display certain fields on a transition (if I understood you correctly)
Hi Ilya,
Thanks for a prompt reply!
I have made a script using behavior, as you've recommended me. It hides the custom field which I don't need and shows the one I do, but it only works in the edit screen, it does not effect the view screen.
Could it be an issue that the field has a default value (it is not empty), so it is always shown?
Is there a way to change screens according to the value of a custom field? Maybe that could work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
unfortunately, behaviours don't work on a view screen
so yeah, if the field is on a view screen and it has some value it will always be shown
maybe there are different plugins out there which can hide fields on a view screen, but Im not sure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.