- changed title to Restricting individual Transitions from a Particular Status on a Particular Issuetype
Restricting individual Transitions from a Particular Status on a Particular Issuetype
My project has 3 issue type: Bug, Change, Sub-task where Change and Sub-tasks use the same workflow.
Using the Toolbox, can we hide or block certain workflow transitions so that some transitions are not an option from certain statuses. Do to other constraints I am trying to avoid having to create another workflow. I'd like to continue to use just one for both issuetypes.
Comments (4)
-
reporter -
repo owner Yes, you can do it using "Boolean condition with math, date-time or text-string terms" condition:
Simply, add "Boolean condition with math, date-time or text-string terms" condition to transition whose visibility you want to restrict for certain issue types.
EXAMPLE: We want to show transition "Start Progress" only for issue types "Bug" and "Change", but not for issue type "Sub-task", provided all 3 issue types share the same workflow.
We add "Boolean condition with math, date-time or text-string terms" condition to transition "Start Progress" with the following configuration:
Notice that %{00014} is field code for "Issue type" virtual field.
Once configured, transition "Start Progress" will look like this:
-
repo owner I close the issue as resolved. Please, reopen it if you need more help.
-
repo owner - changed status to resolved
- Log in to comment