Is it possible to define a transition of a workflow in such a way that it behaved differently for different issue types?
Example: I would like to define a field as mandatory for one issue type but as optional for another
You can use one workflow with different transitions for different issuetypes. Each transition has a condition which makes the condition only available if the issuetype is the right one. You can use the Script Runner plugin to create such a condition, e.g.
issue.issueTypeObject.name == 'Bug'
You can associate different workflows with different issue types by project (e.g. in project A, bugs use workflow 1, features use workflow 2, and the rest use wokflow 3, but in project B, everything uses workflow 2)
However, that doesn't cover mandatory fields. Those are handled by "field configuration", which have the same level of flexibility
You can "reuse" as many workflows as you like, as much as you like. Workflow schemes simply tell Jira which workflows to use for which project/issuetype combinations
there is a ValueField in the workflow available which can be used to show/hide transitions based on issue types.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
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!
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