Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Hiding transitions from certain types

I have three issue types that are very similar, however they have slighly different workflow needs. Two of the issue types have the same workflow but one status has a different workflow that essentially means we will move it from a backlog to a done state.  I know I can create a separate workflow for this other type, and I did that, but it caused a problem. With this one status type, it can transition to one of the other types depending on a resourcing decision. Having a separate workflow means that we can't change from one type to a different type.  Sharing the workflow between the three types means that each type will show some extra transitions which only apply to one type.  We don't want to use for the other two types.

I am open to ideas.  Any way to hide a transition only for a given type?


The simplest way is to add a condition on the transition, that way you can prevent it from being used if the wrong type is selected.

Yeah I see I can restrict it based upon rights... but that doesn't hide it correct?  It just prevents it from being used.  The hide condition is an all or nothing condition.

Conditions are the way to do it, but you will probably want to code for them, or find an add-on that implements it already (or lets you code internally)

A really simple block of code could be along the lines of "if issuetype = X then return true".  That would allow the transition for issue type X, and hide it for the others.

I have looked for a plugin to do this and can't find one.  How do I create a condition that will execute specific code?


Log in or Sign up to comment