Search code examples
workflowjiratrac

Multiple assignees (developer, reviewer, tester) for tickets in Trac


We are reworking on our workflow and looking for options between jira and trac. We are all comfortable with Trac but have following questions:

  1. What we want is each ticket have 3 people responsible. One developing it, another reviewing it and the third person testing it. We want some advance options that same person cant develop and review / test the ticket.

  2. We want a separate cycle for these three people. Once developed and finished, it goes to the reviewer and tester automatically. They individually can take their set of actions and once it has been approved by both reviewer and tested, it goes to the next stage. Is this workflow possible with Trac. If yes, how should I go about it

Thanks Sparsh Gupta


Solution

  • You can do this with Trac (a team at my company does something similar), but it will take some configuration work.

    First, you need the ability to assign three people to a ticket. To do this, add custom ticket fields (type 'text') with names like "Reviewer" and "Tester". These will be used to store the names of the non-developers assigned to the ticket.

    You'll also want to add a new state to Trac's ticket workflow to represent the state where testing and reviewing is being done. For the sake of discussion, I'll call this state "verification". Insert this state in the workflow such that a ticket travels from assigned/accepted --> verification --> closed.

    You will also need some way for the tester and reviewer to indicate that they have signed off on the changes. For this, you can add two more custom fields (of type "checkbox") to the ticket. You can call these "Review Complete" and "Test Complete". These tickets will default to unchecked and the tester/reviewer will check them once they have successfully completed their test/review work.

    That should get you started as far as the workflow goes. Regarding some of the more advanced parts of your question, you have a couple of options.

    You can add a bit of custom javascript that will prevent a user from being listed in multiple owner fields. The javascript would run whenever the owner, reviewer, or tester field is modified. If the new value in that field matches the value in one of the other two fields, the other field will be cleared out. Instead of writing custom Javascript, one of the following plugins may be able to do this for you: