It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Auto-assign to certain user based on Component?

Hi,

how would I do the following?

I want to auto-assign ticket to a certain person based on what's on the component field.

Let's say I have components 1-4 and people A-D. For sake of clarity, person 1 is responsible for component A, person 2 for component B... and so on.

I would like my workflow to take into account that when ticket hits certain status, say "Ready for review" and Component field has "B", it would automatically get assigned to person 2. If component field has "D", it would get automatically assigned to person 4... and so on.

I haven't found any clear documentation about this, so I'm not sure how to proceed. Apparently it's related to the transition parameters in the workflow?

1 answer

Hi @Jenni Järvinen ,

Create each component with Component lead as A, B, C, D etc and In the workflow , for required transition add a post function - Assign the issue to the lead developer which helps to auto-assign issue based on component value and lead.

Regards,
Kishore Kumar Gangavath.

Hi,

I'm looking for more general answer. What if the attribute is not Component, but something else, like custom field? Then component lead would not fit in that case.

What kind of post function should be used?

Hi @Jenni Järvinen ,

To achieve this you need to use the 3rd party apps. 

1) Create a scripted post function that will set an assignee depending on your custom field value. This will require a 3rd party addon like ScriptRunner for Jira or Jira Misc Workflow Extensions (JMWE) .

2) Create an automation rule that will trigger when your issue is transitioned and set an assignee based on your custom field value. Automation for Jira is required for this approach.

Regards,
Kishore Kumar Gangavath.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

273 views 1 2
Join discussion

Community Events

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

Events near you