Forums

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

Automation condition - find subtasks which are assigned to user in specific field

Martin Vali
Contributor
May 27, 2026

Hei

 

I try to setup automation so that when field "participant" has user  that has no subtask the subtask is created and assinged.image.png

I dont get the look up items working - Rovo drives me nuts - please see automation look up itemsimage.png

 

2 answers

2 accepted

1 vote
Answer accepted
Yashaswini YK
May 27, 2026

Hi @Martin Vali ,
I used "Related work items condition" and the flow worked as expected.
Please try the below.
Screenshot 2026-05-27 171503.png

Martin Vali
Contributor
May 27, 2026

This worked, Thanks

Like Yashaswini YK likes this
1 vote
Answer accepted
Germán Morales _ Hiera
Atlassian Partner
May 27, 2026

Hi @Martin Vali, I can see the issue from your screenshots.

In your Lookup JQL you have assignee = {{user.accountId}}. The problem is that {{user}} in Automation always refers to the person who triggered the rule (you, the admin who clicked Run), not the current participant from the branch.

Inside a "For each smart value {{Participants}}" branch, the current participant is accessed through the field smart value, not through {{user}}. Try replacing {{user.accountId}} with the account ID of the current participant. You can do this by clicking the Insert account id button next to the JQL box and selecting the Participants field from the smart value picker. That will insert the correct reference for the person being iterated.

Your rule structure (branch > lookup > compare size > create subtask) is correct. It's just the JQL reference that's pointing to the wrong user.

Martin Vali
Contributor
May 27, 2026

thanks for replay, but I had difficulties to use that Insert account id button, so i went previously given choice

Suggest an answer

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

Atlassian Community Events