Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

JQL or Automation to "Find the Other Children of the Parent"

Hello, we are trying out Jira Software Cloud with the basic Automation tool.

This is the desired scenario and Automation:

Story ABC-1 with Subtasks ABC-2, ABC-3, ABC-4.
ABC-1 has a parent link issue relationship with ABC-2, ABC-3, ABC-4. 
Subtasks ABC-2, ABC-3, ABC-4 do not have any direct link issue relationship with each other.

When a field, ie. text field "Assigned Team", on Subtask ABC-2 is updated, I want to run an Automation that updates ABC-3 and ABC-4 to the same value for "Assigned Team".

However, I am having trouble thinking of a way to "find the other children of the parent" in a JQL or pre-baked Automation filter.

Any suggestions or guidance is appreciated. Thank you!

1 answer

You should be able to use the related issues / issue branches feature with a JQL. The JQL search could then find the "siblings" tickets and the edit the assignee for these

e.g.  a JQL with:

parent = {{issue.parent.key}}

Automation_rules_-_Code_Barrel_JIRA.png

You'll probably need to add more conditions here (check that it's a subtask etc) but ho[efully should be enough to get you going!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

1,234 views 18 23
Read article

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