Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation Rule, need help to create!

Dario Alarcón
Contributor
September 1, 2023

Hi Community, i´m a beeginer JSM Admin and i need help to create an automation.

Steps for the automation:

  1. - Schedule: Create an issue once time per year (birthday date, i used a Cron expression).
  2. - Then: Assign the issue to a user in a defined list (random).
  3. - And: Transitioned the issue to status (ex: "waiting for customer")

 

I create that, but can't save the rule due to appear error below:

01.jpg02.jpg

Anyone can described me the reason why the system request to run JQL search?

In that case, what sentence i will must to write to save the rule and test the functionality?

Thanks a lot!

1 answer

1 accepted

1 vote
Answer accepted
Melo
Community Champion
September 1, 2023

Hi @Dario Alarcón,

Welcome to the community! It seems like you need to define which issue will be transitioned. You can use a branch for that like the example below

Screen Shot 2023-09-01 at 2.10.44 PM.png 

Let me know if it worked.

Cheers,

Melo

Dario Alarcón
Contributor
September 1, 2023

Hi Melo, thanks for answer.

I need use a Cron expression due to the issue will be created automatically at the birthday date.

i test use "every 365 days" but it does not coincide with the exact date of the birthday (due to leap years) and on the other hand I also need to make an automation of this type for a list of 10 people.


In other words, the need is for a request to be generated once a year (on an exact date, birthday) and for said request to be automatically assigned to a list of users and then automatically transition to a state.
Is this possible to do in one automation rule or should I separate the task into several automations?

Melo
Community Champion
September 1, 2023

Hi @Dario Alarcón

That's was just an example, you can ignore how my trigger was configured. I believe there's a missing component in your automation rule, specifically a branch. To clarify, the rule should state that the issue being transitioned is the one that's created when the automation triggers. To address this, you'll need to create a new branch.

Like Dario Alarcón likes this
Dario Alarcón
Contributor
September 1, 2023

@Melo tks so much!

I was able to solve it with your help 🙌

Like Melo likes this

Suggest an answer

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

Atlassian Community Events