Jira Automation - create new task and then link to existing task

Josh Maurer
Contributor
November 22, 2022

Jira Automation - create new task and then link to existing task.

Currently have a automation for a task to be created every week.
I want to have that task linked to another task in a different epic.

1 answer

1 accepted

1 vote
Answer accepted
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.
November 22, 2022

Hi @Josh Maurer -- Welcome to the Atlassian Community!

What have you tried thus far to solve this?

For example, please post images of your rule, the audit log details showing the rule execution, and describe what is not working as you expect.  That will help the community to offer suggested improvements.  Thanks!

Kind regards,
Bill

Josh Maurer
Contributor
November 22, 2022

This is the automation I created.

 

TTG- Jira-Automation-Schedule.png

 

I have tried adding a branch with a new task, but not able to find something specifically to add a link to other task.

Josh Maurer
Contributor
November 22, 2022

image.pngThis is as far as i have gotten.

Josh Maurer
Contributor
November 22, 2022

I want to link the automated task that is created every 2 weeks to this task that will never be closed (done)
image.png

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.
November 22, 2022

I am guessing your Scheduled Trigger is based only on time, and does not have JQL.

In a rule, Current Issue is relative to the issue from the trigger or branch.  When there is no issue (such as a trigger without any), the actions do nothing or raise errors.  This was probably visible in the audit log details I noted earlier.

To do what you ask, please try changing your branch to Most Recently Created Issue.

Josh Maurer
Contributor
November 22, 2022

That worked, I didn't realize I could just type in the Issue Key as well.

image.png

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer