2 Missing Features on moving cards to stages

Hello there!

Coming from JIRA, I am currently missing two small features and I do not know whether they exist or not, or if I could just workaround these. The points are:

  1. I want an unassigned ticket from the backlog to be automatically assigned to the developer who moves it to the stage "develop" on an agile board (or in general).
  2. I want that only a specific group (or user) is allowed to move a ticket to our "done/fixed"-stage (background: the QA decides about that, not a developer)

Is there currently any way to solve these? Are there any upcoming features related to these?

0
1 comment
Official comment

Hello Markus,

Welcome to YouTrack!

This can be done using on-change workflow rules (https://www.jetbrains.com/help/youtrack/incloud/Workflow-Tutorial.html#tutorial-create-on-change-rule), which will run on issue update and perform some actions. 

For example, to catch stage changing to Develop state, use `ctx.issue.fields.becomes(ctx.Stage, ctx.Stage.Develop)` condition in guard section. A similar thing can be done to catch stage changing to Done/Fixed state.

You'll need to define the Stage field in requirements section in the following way:

 Stage: {
type: entities.State.fieldType,
Develop: {
name: "Develop"
},
FixedDone: {
name: "Fixed/Done"
}
}, 

In action section specify what you'd like to do with the issue. For example, assign it to the current user (who has changed the Stage) - `ctx.issue.Assignee = ctx.currentUser`.

Here is a guide on how to attach your workflow to a project: https://www.jetbrains.com/help/youtrack/incloud/Workflow-Tutorial.html#tutorial-attach-workflow-to-project, and here you can find several examples of workflow rules: https://www.jetbrains.com/help/youtrack/incloud/Default-Workflows.html

Please let me know if you need any further assistance.

Please sign in to leave a comment.