Hi ,
We have a parent feature and it would have child A and child B(stories) and we would link each other child as child work item as is relates to.
ie Child A should have Child B as linked work item and similarly Child B to have Child A.
I have currently created automation rule but seems the child stories are not getting interlinked. Can anyone suggest how to achieve this.
Regards,
Suma
This should be definitely doable with automation — the trick is getting the rule to look up the sibling stories correctly, not sure if this is your problem though.
The most reliable approach is a rule that triggers when a child issue is created (or linked to a parent), then looks up the other children and creates the links:
{{issue.parent}} is not emptyparent = {{issue.parent.key}} AND key != {{issue.key}} — this finds all sibling stories under the same parent, excluding the current oneA couple of things to watch out for:
parent = JQL only works with Jira's native parent/child hierarchy. For issue-link-based relationships, you'd need a different approach — potentially a "Related issues" branch condition instead of "Look up issues."
One other thought — if the reason you're cross-linking siblings is to see which stories belong to the same feature, you might not need explicit links at all. If you're open to solutions from the Atlassian Marketplace, JXL for Jira lets you set up a hierarchy view where all child stories appear nested under their parent Feature in a tree structure. You'd see at a glance which stories are siblings without maintaining "relates to" links between them.
Disclosure: I work for the team that builds JXL.
Cheers, Paul
Work items of the same type are on the same level and can only be linked linear, they can't be linked in a parent child realtion.
See issue linking; https://support.atlassian.com/jira-software-cloud/docs/link-issues/
Also please provide your current automation setup with detailed information about the stepes and the audit log information
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.