transition

NTAMEN NTANMI luc landry April 19, 2023

 how to condition a transition in such a way that it can only be returned to the status in which a task was previously.

2 answers

1 accepted

0 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 19, 2023

Hi @NTAMEN NTANMI luc landry 

Yes, just change your workflow so that the only transition from the status goes back to the same status it came from. 

NTAMEN NTANMI luc landry April 19, 2023

@John Funk The problem is that the status in question is a status that can receive tickets from several statuses not just one and I wonder if we can't for a return transition condition that the ticket can only go to the status where he came from ??

thanks

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 19, 2023

How many statuses is several? One way would be to create a custom field and capture a value using a post function on the transitions to the status. Then create a separate transition from the status back to each one it came from. Then, use an automation rule with IF/ELSE options to auto-transition the issue based on the value of the custom field. 

NTAMEN NTANMI luc landry April 21, 2023
NTAMEN NTANMI luc landry April 21, 2023

@John Funk in fact the return transition must be done manually but it must only be able to be done towards the status from which it comes

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 21, 2023

You need to add a post function to each of those transitions to set a unique value in a custom field.

You need to create a separate transition from STANDBY back to each of those statuses. Add a condition that looks for the value of the custom field that you set on the post function. That way the issue can only return to the one it came from.

NTAMEN NTANMI luc landry April 21, 2023

@John Funk  thank you and the custom field in question is what type (singel choice, multiple choice, check box, ...)?

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 21, 2023

Whatever type you would like it to be. You just need to set a unique value for each of the transitions.

NTAMEN NTANMI luc landry April 21, 2023

@John Funk ok so i must create one custom field for each back-statuts

NTAMEN NTANMI luc landry April 21, 2023

@John Funk and in each field I put a single value which is one of the statuses where it is supposed to be returned

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 21, 2023

No, you just need one custom filled. But you must be able to put multiple values in it. You could do a text field and then populate it with different values and the post function. Just make sure that you use the exact same value, and the condition of the transition going back to the previous status. 

NTAMEN NTANMI luc landry April 24, 2023

@John Funk  thanks!

i solved my problem.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 24, 2023

Great! Can you click on the Accept Answer button above so we can close this on out for future readers? Thanks!

NTAMEN NTANMI luc landry April 25, 2023

ok

Like John Funk likes this
0 votes
NTAMEN NTANMI luc landry April 19, 2023

it's that possible first ?

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