Forums

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

No post function automation if this is the second time transiting?

Emily Fuller March 31, 2020

Hi everyone, 

I have a workflow that when we move our ticket from 'Open' to 'Itinerary in Progress' there is automation of a post function creates 2 tasks on another teams kanban board. I have set up conditions that doesn't allow my ticket to move on unless the 2 automated tickets have been completed to a done status. This is all working fine. 

My issue is that we also have the option to move the ticket to a closed status and a loop back to open if we want to reopen the ticket. Therefore when we move through from 'Open' to 'Itinerary in Progress' again it creates duplicate issues on the other teams kanban board and doesn't allow my ticket to move on unless we action these. Is there a way that if it is the second time a ticket is transiting a status that the automation does not apply again? 

 

Thank you!  

2 answers

1 accepted

0 votes
Answer accepted
Aditya Sastry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 31, 2020

If you have JSU plugin, set a condition

Value Field (JSU)

  • Autotasks count != <desired number>
  • Comparison Type: Number.

Other option is to directly check through a script in the condition or can be done as Ravi suggested.

Emily Fuller April 3, 2020

Thank you i will try this!

0 votes
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 31, 2020

Hi @Emily Fuller 

May be set a field when it happens the first time and perform the automation only when the field is not already set.

Ravi

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