I'm working in a classic project and I want to learn how to add default assignees for code reviews so my team does not need to update the Code Review field each time we create a new ticket.
We have already set up components that are assigned to specific individuals.
Thank you for reaching out.
Per your description, I understand you have a custom issue type called "Code review", which you would like to set a default assignee every time an issue of that type is created. Is that correct?
If you only have that single issue type in your project, you can simply navigate to Project settings > Details and set the default assignee as you need.
Now, if you have multiple issue types and the default assignee should be applied only for "Code review", then you will need to use the post function "Update issue field". These would be the steps:
1 - Configure a separate workflow for your Code Review issues, adding it to the workflow scheme of your project. For more information, check the documentation Working with workflows.
2 - Navigate to your Project > Project Settings > Workflows > Click to Edit the workflow related to the Code review issue type.
3 - In diagram mode, click in the create transition > Post functions:
4 - Add the post function "Update issue field", configuring add the assignee field with the user you want
5 - Publish your workflow draft
Let me know if you have any questions.
Thank you for your reply. I have worked with the workflows in the past and will try this. Thank you for providing these helpful steps. I am wondering however, from what you outlined for option 2 (multiple issue types) it sounds like this is would only apply if we are trying to assign a sole person (vs. a team) to do Code Review?
I may have worded my original question incorrectly. Let me try again.
I work with a team of 8 developers. We have agreed to have each developer own (act as a primary) on the various applications that we use (E.x. Mandrill / Mailchimp). This means that we have a list of custom components that we have created in JIRA. If we create a ticket we are able to choose from our list of components or add a new component.
What I'm trying to figure out is: how do I choose a component and have the Code Review field pre-populate with whomever is the primary on that application. In other words, where do I go to define this?
Thank you for the details provided in your last answer.
Now I understand that, when you manually set the component of the issue, you need the application to automatically add the Code Review field (I believe this is a user picker custom field) with the person that is the primary of the application related to that component. Is that correct?
If that's what you are trying to achieve, I believe that you will need an app like Automation for Jira to perform that kind of Condition, like:
if -> component = design
them -> Code review = Petter
Let us know if that add-on provides you with the functionality you are looking for.
Hello there Cloud Community members! Today, we’re thrilled to announce Jira Service Management, the next generation of Jira Service Desk. Jira Service Management touts advancements in IT service ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events