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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

156 views 5 9
Read article

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