Automation for JIRA - Create Sub-tasks doesn't seem to be working

Hello,

I am testing the trial version of "Automation for JIRA" plugin right now.

When an issue is created I also want to create sub-tasks with it. Here is the overview of the rule

image2016-11-17 16:32:30.png

When I run the rule it creates the story but not sub-tasks, do I miss something here?

In this project we are using classic workflow and issuetypes.

I checked all the questions but cant find the answer. 

2 answers

This widget could not be displayed.

Hi Kadir

  Make sure in the Rule Details, you have the checkbox for "Allow rule trigger" checked, this allows more than one rule to run in a project. 

I had a similar issue where the problem was the created issue was firing a custom event rather than a system event so the Automation for JIRA was unable to pick up that an issue was created and to run the sub-task rule creation. You can check that question and answer: https://answers.atlassian.com/questions/44079377

 

Hope this helps. 

Phyllis

This widget could not be displayed.
Nick Menere Community Champion Nov 17, 2016

Kadir,

If you look in the rule Audit Log, does it show any errors?

Either the rule is not being triggered (As Phyllis said, potentially a custom event or perhaps permissions) or there are errors trying to create the sub-tasks.  This can happen when there are required fields on the sub-tasks.  To get around this, you will need to add the sub-tasks via the "Create Issue action" - https://answers.atlassian.com/questions/41460499

 

Let us know how you go.

Cheers,

Nick

Hey Nick and Phyllis,

thanks for your answers.

When I add this rule on "issue created" it doesn't get triggered and I don't see it in the automation log. This project is using system defaults for Workflow and permissions (I am admin), so I don't think something is blocking it. 

When I check the required fields on sub-tasks, only Summary, assignee and reporter is required.

"Allow rule trigger" option is also checked. I am using version 1.0.2 and our JIRA version is v7.1.9.

I will check again all the custom events and will let you know if I can find something.

Best,

Kadir

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

203 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you