Modifying the workflow

Configuring the workflow is one of the most complicated tasks in Redmine. Also, proper configuration of issue status transitions is more significant and important than configuration of fields permissions. So before doing this, I would recommend that you draw a diagram of issue status transitions that you plan to implement, and discuss it with your team in detail. In this way, you will minimize the risk of the need to modify the workflow later. However, I believe that you can't fully avoid further modifications, as the workflow should be an adaptive system and can still change.

Modifying the workflow is not so complicated as risky. A wrong configuration can allow more than users need, or limit them when they need more. You have already seen all the configuration forms and the amount of elements in them, so you would probably agree that it's easy to miss something when you add a new role, tracker, or issue status. Therefore, under this section, we will talk about basic principles that you should follow while adding new objects to the workflow.

Adding a role

Member roles can be added using the New role link, which can be found in the contextual menu in the top-right corner of the Roles and permissions page. Clicking on this link opens the following form:

Adding a role

This form also contains Permissions, which I did not include in the screenshot. The same form can be invoked with the Copy link which is located in the rightmost column of the role list.

As you can see, the new role form is very much like the role edit form that was discussed earlier, but with a new Copy workflow from option. This new option allows you to choose the role, the workflow configuration for all trackers (that is, issue status transitions and fields permissions, but not role permissions) of which will be copied into the newly created one.

So, let's compile a list of actions that you should do when creating a new role, to make this process easy and flawless:

  1. Choose an existing role which has the permissions that are closest to the permissions that the new role should have.
  2. Click on the Copy link, which can be found in the rightmost column of the chosen role's row, to open the new role form.
  3. For the Copy workflow from option, choose an existing role, issue status transitions and fields permissions of which are closest to the configuration that you want to have in the new role.
  4. Use the green arrow icons to move the new role to the appropriate position in the role list.
  5. Use Permissions report to adjust permissions for the new role.
  6. Use the Workflow page to adjust workflows for the newly created role (if needed).

Adding a tracker

A new tracker can be added using the New tracker link. This link is located in the top-right contextual menu of the tracker list that can be found on the Trackers page. It opens the following form:

Adding a tracker

This form is almost identical to the one which is used for editing trackers. Like the new role form, this form also has the Copy workflow from option, which has exactly the same meaning—if a tracker is selected for this option, the workflow configuration for all roles and the selected tracker will be copied into the new tracker.

So, to avoid mistakes and misconfiguration, try to follow these principles while creating new tracker:

  1. Using the Copy workflow from option, select the tracker whose configuration is closest to the configuration that you want to have for the new tracker.
  2. Uncheck the fields that you want to disable for the new tracker.
  3. Choose the projects for which you want to activate the new tracker.
  4. Using the green arrow icons in the tracker list, move the new tracker to the appropriate position.
  5. Using the Workflow page, adjust workflows for the newly created tracker (if needed).

Adding an issue status

A new issue status can be added using the New status link, which can be found on the Issue statuses page. This link opens the following form:

Adding an issue status

This form is exactly the same as the one that is used to edit issue statuses. As you can see, no Copy workflow from option is available this time. Adding an issue status is not going to be so easy.

The workflow for issue statuses cannot be just copied, as new statuses are usually placed somewhere between existing ones (for example, NewNew statusIn Progress). This means that new issue statuses definitely need to be configured manually. In practice, however, users often forget about the need to add the new status to the workflow, which ends up in confusion and a lack of understanding as to why the new issue status is not visible in the issue forms and the workflow. Unfortunately, Redmine's interface and approach to this problem do not help much.

So let's try to define some principles that can help make this process easier:

  1. Create the new issue status.
  2. Using the green arrow icons in the issue status list, move the new status to the appropriate position (keep closed statuses at the bottom).
  3. Print, write down numbers, or take a screenshot of the content of the summary page, which can be accessed using the Summary link on the Workflow page.
  4. On the Workflow page, select any role and any tracker.
  5. Uncheck the Only display statuses that are used by this tracker option. Otherwise, the workflow won't show the newly added status.
  6. Reconfigure the workflow, taking the new status into account. Do this for authors and assignees as well, if applicable. And don't forget about fields permissions.
  7. Using the Copy link on the Workflow page, copy the workflow that was just configured to other role-tracker pairs, but only to those ones that are going to have similar workflows.
  8. Adjust the workflows to which you have just copied the configuration (if needed).
  9. Repeat the previous five steps (4-8) for every group of role-tracker pairs that are going to have a similar workflow configuration.
  10. Use the Summary link on the Workflow page and the data saved earlier to check whether all relevant numbers have changed. These are just numbers of the allowed status transitions, but in this case, they can help you determine whether changes have been made to all the necessary role-tracker pairs.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset