Several workflows depending on the type of tracker

I have created several workflows in the designer. How can I bind a specific process to a specific type of tracker within the same issue?
0
5 comments
Official comment

Unfortunately, this scenario is not possible when you're building a state machine in the Workflow Constructor.

However, it's possible to have state machines per issue type using ordinary JavaScript workflows. Here you can learn more: https://www.jetbrains.com/help/youtrack/devportal/state-machine-per-issue-type.html#state-machine-rule-per-issue-type

Hello Alexey!

What exactly do you mean by tracker? Is it an issue type in Youtrack or is it something else?

Could you please provide some more details about your use case and what it looks like (or should look like) in YouTrack?

Thank you.

 

0

Yes, I mean the type of problem.

When I change the issue type to a bug, I want to see the workflow created for the particular issue type.
As an example, the workflow in the screenshot.
No matter what type I choose when creating a task, everything follows this pattern.
I also need a type binding to the workflow.
How to implement it?

0

Same here. I want to assign different workflows to different type of issues. I thought that this would be possible via the workflow constructor ui but only found a way to do it via the scripting language, which is very unsatisfying. We are thinking about moving from jira to youtrack, but need to migrate more than 50 workflows which would be a disaster if we needed to write all of them in the scripting language.

0

Unfortunately, state machines per issues types can only be created in the JavaScript editor at the moment. We have a related feature request to support it in the workflow constructor in our public tracker: https://youtrack.jetbrains.com/issue/JT-69078/State-machine-constructor-per-issue-type. There's no ETA as to when it's going to be implemented, yet you can vote for this issue. This helps us gauge how much impact this feature will have on our customer base, and you’ll also get subscribed to the issue’s notifications. To do so, sign in to JetBrains YouTrack and hit a thumbs-up icon.

0

Please sign in to leave a comment.