Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation: Auto-assign issues

Lara Sousa
Contributor
July 13, 2023

Good afternoon!

I'm creating an automation to autocomplete the assign in issues, copying the same from the parent activities, however I'm running into the following problem: the automation works, but if I create a task without an associated story or epic, it returns me with an error and I wanted to put a condition for this problem.

I thought of using the relation "epic link" equal to empty, but in the conditions this field option is not appearing to work.

I know that it is recommended to maintain a hierarchical structure in project management, but I would like a condition for these isolated cases not to return an error.

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 13, 2023

Hello @Lara Sousa 

Please show us the automation rule with which you need help and the details of the Audit Log for an execution where it failed.

Lara Sousa
Contributor
July 13, 2023

Hello @Trudy Claspill

Here is the automation:

Captura de tela 2023-07-13 163902.png

And here is the log:

Captura de tela 2023-07-13 163958.png

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 13, 2023

Are these issues in a Team Managed project or a Company Managed project?

Are you trying to handle copying assignee only from a parent Epic to its child issues, or also from issues to their child subtasks?

There are a few different patterns of conditions you could use, depending on the answers to the above questions.

Lara Sousa
Contributor
July 13, 2023

@Trudy Claspill It's a Company Managed project.

And from issues to their child subtasks.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 13, 2023

If you want to use this rule only to copy Assignee from an issue to its child subtasks then you can add the Related Issue condition 

Screen Shot 2023-07-13 at 12.59.12 PM.png

 

Note that then the rule will ONLY copy assignee from an issue to its newly created subtask, and by "subtask" I mean to an issue that has an Issue Type from the Sub-task issue types group.

This rule would not copy an Assignee from an Epic to its newly created child issues.

This rule would not copy an Assignee from one issue to another based on the existence of a generic issue link relationship.

Lara Sousa
Contributor
July 13, 2023

Hello @Trudy Claspill

It worked here, I wasn't aware of this last automation, that's exactly what I needed.

Thank you for the help!!

Like • Trudy Claspill likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events