Restricting individual Transitions from a Particular Status on a Particular Issuetype

Issue #116 resolved
Will created an issue

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)

  1. Fidel Castro Armario 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:

    conf-1.png

    Notice that %{00014} is field code for "Issue type" virtual field.

    Once configured, transition "Start Progress" will look like this:

    conf-2.png

  2. Log in to comment