How do I logically assign a subtask to a given person when it is generated by a rule?

I have a rule that automatically generates a subtask when an issue is transitioned to a given status. However, I have a matrix of assignees that this given subtask should be assigned to given a property of the parent status. For example, if the original issue has a field "Responsible Department" set to "IT", then assign the generated subtask to Person A, or if "Responsible Department" is set to "HR", then the subtask should be assigned to Person B. Is this possible?

As a test case for a single flow, my rule JQL looking at the status and the IT department field passes, the subtask is created, but the AND "Assign issue to" clause doesn't seem to set the assignee of the subtask to my specified user.


1 answer

1 accepted

This widget could not be displayed.
Nick Menere Community Champion Dec 14, 2016

Hi Justin,

I'm thinking of adding the ability to map values to the values which would make this pretty trivial. In the mean time you will need to do the following:

  • Create the subtask
  • Add a "Related issues" action
    • Select to work on Sub-tasks
    • Check if the value of the field on the parent = "IT"
    • Set the assignee Person A
  • For each group you want to assign to repeat the above

It should look roughly like this:

image2016-12-15 11:35:16.png


You can check the value of the parent a few ways but the one i used is the quickest.


Let us know how you go.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

526 views 3 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you