I have a project with many Issues Types and Workflows (with sometimes many transitions). There is one field (-> called "blocked") which is present in all Issues Types.
If this value is set to "yes" no transition is allowed but there should be a warning/info dialog that tells the user that the issue is currently blocked.
If blocked = yes the transition is allowed.
Questions:
- how I can I manage to do that without going through all WFs / transitions?
- how can I show a dialog/info to the user when he tries to transition the Issue?
Thanks in advance,
Bernd
Hello @Bernd
I think you will need a plugin like Scriptrunner to do what you want and write a Script Condition.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You will need to do this for all transistion, go to you workflow and add a condition based on a jql query (Allows the transition if this query matches a JQL query):
blocked!=yes
You can be more exhaustive in your query
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, you are going to have to amend all the workflows you want to do this in.
You could do it with a condition, but that would hide the transition entirely so the user would have no feedback. I'd say you probably want a validator, which can check what is in the field and return an error back to the user when validation fails. It won't pop up a box, but will at least put something on-screen as a reason.
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.