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

Issue created automation not working

I use Next-Gen Jira and tried to set up an automation rule where when a new story issue is created to automatically create new task issues. After creating the rule, it didn't seem to work. Anyone know why? Our team is small so everyone is an admin so it shouldn't be permissions related. 

Is it not working b/c we use Next-Gen Jira versus the traditional one?

Screen Shot 2020-05-04 at 2.58.54 PM.png

 

 

5 answers

1 accepted

0 votes
Answer accepted
John Funk Community Leader May 05, 2020

Hi Irena,

What is not working? Is there an error? Can you share a screenshot of the Audit log?

Actually, I'm back! running into issues with another rule I tried to create (creating an epic should automatically create a task with the IF statement Epic issue assigned as the parent of the THEN created issue). Here's the automation rule and the audit log error I got.

 Screen Shot 2020-05-05 at 9.20.25 AM.pngScreen Shot 2020-05-05 at 9.21.26 AM.png

Audit log after I published the rule and created an Epic expecting a child task to be created automatically.
Screen Shot 2020-05-05 at 9.18.47 AM.png

John Funk Community Leader May 05, 2020

And you are sure that KARAT-2198 is an Epic?

If so, try putting another Condition in front of that one for the Project

Condition: If project = ABC

Condition: If issue type = Epic

Like Sarah Kladstrup likes this

Hm it's passing the first condition (if project = ABC) but not the second condition (if issue type = Epic) even though the issue I created is an Epic.

Screen Shot 2020-05-05 at 3.10.24 PM.pngScreen Shot 2020-05-05 at 3.10.42 PM.png

John Funk Community Leader May 05, 2020

Sorry, I lost track of the original discussion - the problem is that Next-gen does not currently handle Epics in the proper way like Classic projects. That is why it is failing to recognize the Epic.  :-(

Ah, I see. That's disappointing. Another reason for us to switch from next gen to classic then. thank you for your help!

John Funk Community Leader May 07, 2020

🙂

0 votes

Hello @Irena Lam ,

I tested the same conditions and it is effective in the next gen project.

Have you enabled it?

QQ截图20200505154256.png

BTW: Are there any differences in the field settings between your Story and Task? For example, some required fields and so on.

Looks like it's fixed actually! Thanks everyone for reaching out to help me :) 

John Funk Community Leader May 05, 2020

Glad it is working for you now.  :-)

I'm struggling with the exact same problem and it's not solved for me, sadly. I am trying to set up a global automation rule for next-gen-projects here that would fill certain epics with a set of predefined tasks. Strange thing is that the rule fails to recognize epics in some projects, in others it seems to work though I can't see a difference in the projects. Some times I can get it to work when I switch the conditions I set up so that the issue type is not the first one.

But it also fails to see that for instance the "subtask" issue type (generated by the adding the standard subtask issue type from the settings) is actually ONE issue type regardless of project. It seems that every project's subtask issue is recognized as a standalone issue type. So I can select from really many subtask issue types in the "create subtask" action when configuring the rule. Obviously it would then work only in the specific project I'd have managed to hit there. But I need the rule to work for every project if it is supposed to be of any use for my scenario :o/

My experience with automation so far is that it looks really great and I could easily set up rules that look like they'd do exactly what I was wishing for - except for that they don't, at least globally. I managed to set up a single project rule so that everything works as intended. Global rules seem to just not work for me :o(

John Funk Community Leader Jun 24, 2020

The problem is that Next-gen projects are not currently setup for Automation for Jira to handle Epics on those types of projects. That's probably why it works sometimes and not others. 

Hi Christoph same problem for me. It's something to do with the Global rule not recognising a new project at first. I was trying to use manual trigger from an issue, and creating new epics in "same project as trigger". Interestingly, If I point the global rule to my new project just one time, save it, then switch back to "same project as trigger", it remembers the project forevermore. However, that obviously defeats the point of using automation...

My error was "Could not find create find meta data for project/typeId xxxxx/xxxxx"

Yes well that's not really automation then, is it... :o/ I wonder if it continues to work for the other projects after it has been pointed to the new project?

@John Funk: has anything changed regarding automation for next-gen projects in the mean time so that it would make sense for me to test it again?

John Funk Community Leader Jan 29, 2021

Not that I am aware of.

Like Christoph likes this

@John Funk Hi John - is the Issue Created automation not working again? I set up a automation where if a certain Issue Type is created, it should assign a certain value to the Components field. I applied the same conditions to a Issue Edited automation and it worked. Please advise when you can. Thanks

John Funk Community Leader Dec 09, 2020

Hi Madison - Can you share the rule that is not working? And probably the one that IS working. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

153 views 3 7
Read article

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