Automation to create stories/subtasks linked to new Epic doesn't work in Business Project?

Allison Stewart
Contributor
October 7, 2022

Hi,

I have an automation to create stories and subtasks when an Epic is created.  This is working perfectly when I run it in a company managed software project.  But then my users don't get to easily see the hierarchy of issues and see the progress of the Epic.

But when I run this automation in my company managed (or team managed) business project, the automation will associate the sub-tasks to the stories, but won't link the stories to the Epic.

I want this:

Epic1
  Story1
    Subtask1
    Subtask2
  Story2
    Subtask1

I would like these users to have a business project because I think it's easier for them to see their hierarchy of tasks and work in a more simple manner than in a software project.  But I just can't get this automation to link the stories to the epics.

NOTE: I tried using one automation rule that creates the epics, stories and branches to create the subtasks.  AND I tried using 2 rules: one to create the epics and stories and one to create the subtasks to the newly create stories.  In neither case, can I get the stories linked to the epic.

Screenshots attached.automation epic_story_subtask NO.jpgautomation epic_story_subtask YES.jpg

 

2 answers

1 accepted

4 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2022

For Team Managed projects the "Epic Link" field is not used. That is why the rule does not work for such projects.

You instead have to set the Parent field on the child story to add it to the Epic.

Refer to answers on this post for information on how to do that.

https://community.atlassian.com/t5/Jira-Software-questions/How-do-I-Automate-Client-Field-to-Associate-with-an-Epic/qaq-p/1985634#U1985645

1 vote
Aleksandra Bosacka _Deviniti_
Atlassian Partner
October 10, 2022

Hi @Allison Stewart 

If you don’t mind using a plugin, I believe that as an alternative to automation action, you could also use our Issue Templates for Jira app to automatically create stories under epic with sub-tasks out of predefined templates.

To give you more context, with our app you can create a repository of reusable templates, including all issue types:

  • Epic templates with Stories,
  • Task templates with Sub-tasks,
  • But also any level above, which can be accomplished with either issue links between templates, or Advanced Roadmaps that are also supported in our app.

For more details, I encourage you to see the documentation of the app where we describe various ways of using templates, available here:

Issue Templates for Jira | Using templates

After you create the templates and link them together in one structure, you could then use them in automation by defining a specific template in your rule. 

Feel free to ask here in case of any additional questions about the functionality or the required setup.

I’ll be happy to help!

Cheers,

Aleksandra

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events