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?
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.