Updating a custom field based on previous status

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

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,933 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you