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

Link Issue (Tasks with sub-tasks) to Epic in Jira Automation Rule

Hi everyone,

I would like to create a monthly scheduled rule with Epic and Tasks which have Sub-tasks. How can I link Tasks (Issues) to the Epic? 

If I create a branch it doesn't give me to add one more level a branch with subtasks for the recent created issue.

What are the options?

 

I found a similar question

https://community.atlassian.com/t5/Jira-questions/How-can-I-create-a-Epic-on-a-schedule-and-then-create-subsequent/qaq-p/759810

 

Thanks!

 

1 answer

1 accepted

0 votes
Answer accepted

Hello @Natalia Golikova

Thank you for reaching out.

Per your description, I understand that you want to schedule an automation rule to create a pre-configured number of Epic, Tasks and Sub-tasks (Linked to each other) at the start of the month. Is that correct?

To achieve that, you can configure three rules and, using a common field value, make each one to be triggered by the other in a waterfall basis, properly creating the related tasks and sub-tasks as you need.

These would be the exact steps to achieve your need:

  1. Create a new select list custom field with the option "Automatically created", adding it to the create screen of your Epics and Tasks
  2. Create a scheduled rule to create the Epic you need and set the Epic with the option "Automatically created" in the custom field you created:
     Screen Shot 2020-05-06 at 17.06.28.png
  3. Create another rule to create your tasks and link them to the Epic that triggered the rule. To do it, flag the rule to be triggered by another rule (In the Rule Details) and set it to trigger when an Epic is created with the custom field set as "Automatically created":
    Screen Shot 2020-05-06 at 17.11.31.png
  4. Create another Rule(s) with the same logic to create the sub-tasks:
    Screen Shot 2020-05-06 at 17.20.45.png
  5. P.S: If you want to create multiple tasks and Sub-tasks, you can add more options in the Custom field (Like task 1, task 2, etc) and use them to properly select which tasks the sub-tasks must be linked.

Let us know if this is what you are looking for or if you have any questions.

Does this work for Next Gen projects?

@Petter Gonçalves I did and rechecked everything, but ...

  1. on autorun,
    1. the epic (patient name) gets formed
    2. Task (e2)  gets  formed,  but NOT IN THE EPIC
    3. Subtask gets formed, in the task
  2. If I manually create new Epic
    1. epic is formed> task inside it> subtask inside it.

Can anyone tell me  where  am I going  wrong?

Link  for all images.

Hello @Michael Trice and @Dr Sudhir Ajja

The steps above are only applicable to Classic projects, so it might not work for Next-gen projects.

For Next-gen, you must use the Parent field instead of Epic link to link both Epic and task.

Let us know if this information helps.

@Petter Gonçalves THank  you for quick reply. 
It is a classic  project.

Can you  please look at my screenshots and let me know what I am missing? I tried to copy  everything that you mentioned.

 

LInk to  the  images

Suggest an answer

Log in or Sign up to answer
TAGS

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