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

Jira automation - set automation to return ticket to previous status

Lorenzo Cancelli February 1, 2023

Hi Community

I need help modifying an automation I already have in Jira.

Currently the automation works like this:

- the person handling the ticket puts it in a "delayed" status and sets an expiry date
- once the expiry date arrives, the ticket always automatically switches to a set status (so it always goes from delayed back to a specific status).

My goal for which I ask for help:

- Once the expiry date arrives, how can I set the ticket to go back to the status before I put the ticket in delayed?

 

I've seen that there is the option of Execute transition to 'same status (loop)', but I'm not sure if it works

thanks for the help

2 answers

0 votes
Lorenzo Cancelli February 1, 2023

Hi @Sachin Dhamale 

 

thx a lot for your answer

As you can see on the screen I have already set up JQL

It works correctly, i.e. when the due dates arrive the ticket is updated.

What I would like, however, is for the ticket to be moved to the status before it was put in 'delayed'. (of course when the due dates arrive)

Should I enter: "Copy from trigger issue?"

thank you for your kind reply

Lorenzo

 

Immagine 2023-02-01 114243.png

Sachin Dhamale
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 1, 2023

@Lorenzo Cancelli

 

In that you can remove the "status = Delayed" from the JQL.

Lorenzo Cancelli February 1, 2023

Hi @Sachin Dhamale 

but if I remove the delayed status, no tickets are found and automation does not start.

I was just trying to understand if it was possible, once the due date arrived, to return the ticket from delayed to the status before it

in your opinion, is this not feasible?

 

thx

 

Lore

0 votes
Sachin Dhamale
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 1, 2023

@Lorenzo Cancelli 

Welcome to the Atlassian Community !!

 

You need to use the scheduler with JQL as a trigger and transition issue to specific status on action

 

Trigger > Scheduler > JQL  "status = delayed and expiry = now()"  Click the checkbox 

Action > Transition issue to specific status

 

Automation Rule.png

 

Accept the answer if it helps

Suggest an answer

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

Atlassian Community Events