Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,907
Community Members
 
Community Events
165
Community Groups

Automation rule to create automatic tickets triggered by a comment does not work

Hello! 

I would like to create an automation rule in the my board (FL2) so that , when I create a story with the comment "iOS tickets", a task is automatically created in the iOS board and It is also linked to the story. 

 

Story in FL2 board ---> comment "iOS tickets" ----> task create in the iOS board (in status "new"). 

 

Unfortunatly this automation doesn not work, is there an error in the order?

Screenshot_1.png

Can anyone help me ?

Thank you in advance!

2 answers

2 accepted

0 votes
Answer accepted

Hi @Sari 

If you are trying to link the trigger issue and the newly created one, your rule is missing a branch...otherwise the rule is trying to link the trigger issue to itself.  For example:

  • trigger: issue commented
  • condition: check the comment with JQL
  • action: create the new task
  • branch: on most recently created issue
    • action: link to the trigger issue
  • ...

And also: are the trigger and new issue in the same or different projects?  If they are in different projects, this will need to be a global/multi-project scope rule.

Kind regards,
Bill

Hi @Bill Sheboy , Thanks, I solved the issue! 

Like Bill Sheboy likes this
0 votes
Answer accepted

Hi @Sari

 

Can you confirm the workflow please. I would like to see if new is the first status for the new ticket.

Hi @daniel tombs , Sure: 

 

2.png3.png

@Sari

 

So with the 'new' status being the first, you wont need to include this in the automation. It will automatically go there. You can also include the link issue action as part of the create ticket action. This is sort of best practice to keep all items part of the creation together. It also keeps the rule looking cleaner.

 

In regards to the error exactly. If you click on audit log it should show you where it has failed. If you click on the show more and send a screenshot we can talk about the particular errors.

 

Dan

Thanks @daniel tombs , I have excluded the rule about the status and I solved the problem, now It works, thanks!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
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