Updating a custom field based on previous status

Srinath Chandrasekharan October 21, 2016

Hi,

I have a workflow with multiple status. For example "Open", "Dev In Progress", "QA In Progress", "Ready for Demo" , "Closed" and "Blocked". Due to the nature of the work a ticket can transition from

  1. "Open" to  "QA In Progress"  
  2. "Dev In Progress" to  "QA In Progress" or 
  3.  "Blocked"  "QA In Progress" 

I am re-using the transitions for the above. Is there anyway I can update a custom ONLY WHEN  the ticket has moved from "Blocked"  "QA In Progress"  and not trigger it in the first two cases. I have looked at Post Functions , Conditions and Validator's and am unable to find anything suitable

 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 21, 2016

You'll need some code in a post function - something that can say "if transition is blocked -> QA then update field".  You could write a connect add-on to provide that post-function, or maybe use the Script-Runner to avoid having to write most of the add-on

Suggest an answer

Log in or Sign up to answer