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?


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?

2 answers

1 accepted

0 votes
Answer accepted

Just wanted to confirm that with Automation for Jira, this has been now resolved.

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.

Kishore Kumar Gangavath.


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.

Kishore Kumar Gangavath.

Suggest an answer

Log in or Sign up to answer

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