Forums

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

Updating a custom field based on previous status

Srinath Chandrasekharan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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-
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.
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