Two way workflow Transition For "ON HOLD" Status

Yash Raj June 8, 2022

Hello everyone,

am stuck with workflow transition 

i have two steps status in the workflow which i have added Transition to "ON hold" status

But the problem is 

when i move the transition from "Step 1" to "On hold" , then after it shows the Transition of "step 1" and also the "step 2" 

which i don't want to be Happen

Kindly provide any solution 

when i move from step 1 to on hold and again from on hold to step 1, the other step 2 should not be visible.

 

Work.PNGCapture1.PNG 

 

3 answers

1 accepted

0 votes
Answer accepted
Robert Wen_ReleaseTEAM_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 8, 2022

The only way I see out of this is having 2 "On-hold" statuses, one for each Step.

Yash Raj June 8, 2022

Hi @Robert Wen_ReleaseTEAM_ 

Thanks for your quick Response

we can make 2 "On-hold" statuses but what if i want to show that status in the Board

then i have to make to make to columns for both Status

and also need to make 2 different Statuses in the workflow with same name 

even also we would face issues in importing data of "Status"

is there any better solution for this problem ?

Robert Wen_ReleaseTEAM_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 8, 2022

Actually, you could map both "On-Hold" statuses onto a single column.

Yash Raj June 8, 2022

But 2 "On-Hold" statuses with same spelling it won't accept ?

Robert Wen_ReleaseTEAM_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 9, 2022

So when I say 2 "on-hold" statuses, I don't mean they have the same name.  It would probably look something like this.

Screen Shot 2022-06-09 at 6.22.41 AM.png

 

On a board, you can have the two on-hold statuses (Step 1 Hold, Step 2 Hold) mapped to a single board column.

Screen Shot 2022-06-09 at 6.27.28 AM.png

I think this is the simplest solution to what you want.

Like # people like this
Yash Raj June 14, 2022

Thank you soo much @Robert Wen_ReleaseTEAM_ 

Like Robert Wen_ReleaseTEAM_ likes this
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.
June 8, 2022

On Server, there are a couple of apps that provide a "previous status was" condition.  Cloud doesn't support that yet, but you can get close with off-the-shelf functions.

You need a custom field, and  four transitions:

Add a field called something obvious like previous-status.

  • Step 1 -> on hold
    • With a post-function that sets previous-status to Step-1
  • Step 2 -> on hold
    • With a post-function that sets previous-status to Step-2
  • On hold -> step 1
    • With a Condition that says "only allow this if previous-status is Step-1
    • With a post-function that clears previous-status
  • On hold -> step 2
    • With a Condition that says "only allow this if previous-status is Step-2
    • With a post-function that clears previous-status
0 votes
karel_mellen June 8, 2022

You could use a (hidden) custom field to mark the origin status and check this field value in the transition condition.

Yash Raj June 8, 2022

Hello @karel_mellen 

Could you please explain how to do it

Because it not a custom field

karel_mellen June 9, 2022

You need to *create* and extra custom field in which you store the previous status. You can use this field's value to build conditions on. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events