Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,456,654
Community Members
 
Community Events
176
Community Groups

Automation rule - create issue if issue with the same summary doesn't exist

Hello,

I have the following process that I would like to cover via an automation rule:

  • Every day the team needs to do some checks in production (each time the same ones)
  • In order to make sure they do not forget this step and we also have stats regarding the checks I would like to create an automation rule that each day, at the same time automatically creates a ticket in their Kanban board that contains the exact same information

Until here I have no issues, I managed to create the rule and the rule is triggered everyday at the specified time with the exact same template.

Capture.JPG

  • As an additional layer, I want to check if the created ticket from the day before is in any other status then "Done", and if it is I want to not create the one scheduled for the current day (ex: If today is Tuesday and I still have in progress the ticket from Monday the rule should not create a new one)

Do you have any suggestions about how I can achieve this?

Thank you !

3 answers

1 accepted

2 votes
Answer accepted

@Ana MINCA 

You can insert a JQL Condition immediately before the Create new story action, and use a query similar to the following:

type = Story AND summary ~ "Summary of created issue" AND resolution = Unresolved

Thank you for the answer. :) It works ! 

0 votes

Hi @Ana MINCA

I would insert a JQL check prior of the action for creating the issue, just like the following image (don't mind the "Manual" trigger):

myrule.png

 

The JQL statement is this:

summary ~ "My Summary" AND status != Done AND (created >= startofday(-1) AND created < endofday(-1))

I would change the "My Summary" wording with the summary you give when creating the ticket.

 

Let me know if that worked.
Alex

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events