Forums

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

Special restriction on workflows

Alejandra González
Contributor
June 28, 2022

Hi,

 

I would like to know if there is a condition to add in a transition that identifies that ONLY when going from X to Y, Y can ONLY pass it to X.

 

X and Y are statuses on a workflow

 

thank you

2 answers

0 votes
Dirk Ronsmans
Community Champion
June 28, 2022

@Alejandra González ,

If you don't feel like adding an app you could also

  • create a new custom field (previous status) or something like that
  • When you move from X to Y you can either use a post function or an automation to store the "previous status"
  • Then on the Y to X you can add a condition based on the custom field value

 

image.png

 

However I do believe the "Previous Status condition" is just available out of the box on cloud

Alejandra González
Contributor
June 30, 2022

hi @Dirk Ronsmans 

when you say: "

  • When you move from X to Y you can either use a post function or an automation to store the "previous status""

This means that either manually or through an automation, the previous status can be recorded and then we can use a condition based on that value field, right?

Dirk Ronsmans
Community Champion
July 3, 2022

Indeed.

You can either use a post function on any transition which you want to do an action on

Or, (and perhaps easier) you can set up an automation rule that triggers when the issues is transitioned. On that rule you would then store the previous state in a custom field. That custom field can then be used in a condition.

 

But I would first look at your conditions and see if you don't have the Previous Status condition listed as an option. I have a blank instance and I can see that option there so that would be the easier route to take.(if you have it)

0 votes
Sachin Dhamale
Community Champion
June 28, 2022

@Alejandra González 

 

You will need Jira Misc Workflow Extension (JMWE)  or JSU Plugin there you can add the condition some thing like previous status 

Thanks,
Sachin

Alejandra González
Contributor
June 30, 2022

hi @Sachin Dhamale 

so without that Plugin, im not able to do what I want?

Suggest an answer

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

Atlassian Community Events