Content
Custom action: define user by role
Added by Lars Tiedemann almost 4 years ago
Hi,
As an admin, I would like to setup a custom action to notify one or more users identified by their assigned role in the project.
Currently, notifications defined by custom actions can be sent to a specific user or a user group, but the workflow is defined by role. For example, a certain work package changes status and a specific role in this project is now responsible for the next status transition according to the workflow defined for this work package type. Now it would be great if the handover of the work package from one role to the next can be initiated by a custom action which sends a notification.
This would be useful to automate sequential work on specific tasks by different persons. For instance, one member of our quality team needs to review a document (work package type: document) created by another team member. When the document is prepared (status: prepared), the quality team member (role: Product Assurance) is responsible for reviewing the document (next status in the workflow: reviewed). The issue now is that in one project the Product Assurance role is performed by another person than in the other project.
Changing the Assignee field by custom action does not solve the problem, since a role can have multiple users and you cannot set the Assignee to a role.
It would be possible to group all users with certain roles also in a user group (e.g. Quality team). But then, all group members get spammed with notifications from projects in which they are not involved in.
Another workaround would be to create custom actions for each project, but this is tedious to maintain.
Would be great if you could look into this.
Cheers,
Lars
Replies (1)
Hi Lars,
This sounds like a useful addition to OpenProject. Thank you for the idea! However, I'm not sure how many of OpenProject users will really need this (e.g. at OpenProject the person responsible for QA just picks all work packages in the status "merged" and sets them to "tested" or "test failed" afterwards).
Please feel free to create a feature request for this.
Kind regards
Matthias