Forums

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

Post-Function Condition: Check last Transition

Celik Vedat March 22, 2018 edited

Hi all,

 

is there a way to set a post-function condition to check whether the last transition was e.g. "Start testing"

 

regards,

vedat

1 answer

0 votes
Nisha Hajamohideen
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 22, 2018

Hello Celik,

Why do you want to do this check?  If the workflow transition is progressed from e.g. Start testing to the next one, then what is the requirement for this condition?

Celik Vedat March 22, 2018

Just imagine if you have implemented a status like "On Hold" where you can transition from different statuses e.g. "In Testing". If you're in testing and set the issue on hold for any reason you should continue progress in the testing status. By implementing this transition to "On Hold" from multiple statuses you migh do the wrong transition back. So you might go in the status "Review" instead of "In Testing". By having the condition as described there would be no other option than doing the "right" transition. Sure this is not the standard way of how an workflow progresses, but we require this in our case.

I know that you could implement this condition with an custom field by checking the value in a post-function, but I don't like this option :P

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events