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?

2 comments

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?

Comment

Log in or Sign up to comment
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

387 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you