Forums

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

Automation rule not working for updating the parent link for existing issues

Sowjanya Bandaru June 10, 2025

Hi,

I am trying to update the parent link field for existing issues.

Parent link -custom field ID- customfield_21301

Automation rule:

When scheduled trigger:

issuetype in ("Portfolio Epic", Feature) AND issuelinktype =supports AND (resolution = Unresolved OR (resolution IS NOT EMPTY AND resolved >= -52w))and "parent link" is empty.

Then Edit Issue:

customfield_21301={{destinationIssue.key}}

Please help.Iam able to see success and edited successfully in Audit log.

But Actually Parent link is not getting updated

 

2 answers

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2025

Hi @Sowjanya Bandaru -- Welcome to the Atlassian Community!

For a question like this, context is important for the community to help.  Please post the following:

  • what is the scope of your rule (e.g. single-project, multiple-projects, global) and in how many projects are the linked issues stored?
  • an image of your complete automation rule in a single image for continuity
  • images of any relevant actions / conditions / branches
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected and why you believe that to be the case

 

Kind regards,
Bill

Sowjanya Bandaru June 10, 2025

My scope is for complete instance.Should run as Global Rule.

rule.pngedit issue.png

edit 1.png

Action log shows success and edit issues are successfully edited but actually its not updating.

I guess edit issue code is incorrect.Can some one help me on this.

Thanks!

Sowjanya Bandaru June 11, 2025

We are trying to configure an Automation Rule for the child issue with the parent link.

Our Aim is to run for already linked issues.(old issues)

Parent Issue: Portfolio epic

Child Issue: Feature

For eg: Feature is linked to Portfolio epic through "supports "link.

Feature should be updated with Portfolio epic Key as a  Parent in the Parent link field.

 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2025

The smart value {{destinationIssue}} only works when the trigger is one of the link-related ones, not for other triggers.

Instead you would need to:

  • Use something like Lookup Issues to first find the Portfolio Epic, and then use that information to identify what is needed, or
  • Access via the issuelinks smart value and filter to get the correct one.

I recommend trying the first one.

 

 

0 votes
Deivid Araujo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2025

Hi Sowjanya

Atlassian introduced the Parent field to replace the Epick Link a while ago and they have been coexisting ever since, but if I'm not wrong, recently they started removing the possibility to edit the "Epic Link" field. See if this docs can help you

 

https://community.atlassian.com/forums/Jira-articles/Introducing-the-new-Parent-field-in-company-managed-projects/ba-p/2377758

https://support.atlassian.com/jira-software-cloud/docs/upcoming-changes-epic-link-replaced-with-parent/

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2025

Hi @Deivid Araujo 

That update is for Jira Cloud and this question is for Data Center.

Kind regards,
Bill

Like Deivid Araujo likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events