Validate issue based on - if the issue was ever in particular status before.

Samuel Smiles P December 23, 2020

We have workflow with statuses Open, Inprogress, Resolved, Reopened. I need particular field to populate and set to mandatory when reopened issues are moved to resolved. This can be done by adding a field required validator and a screen, on reopened to resolved transition.

But sometimes users move reopened status issues to inprogress status before they move it to resolved.

So in this case, is there a possible way to check that ticket "was in reopened status before" 

I need to validate with required field when any issue is moved to resolved status only when if the issue was ever in reopened status.

2 answers

0 votes
Daniel Ebers
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.
December 27, 2020

Hi Samuel,

wouldn't it be the easiest solution to put the validator also on the transition from reopened -> in Progress?

You state you have basically exact that already in place for the reopened -> Resolved transition.

[...] required validator and a screen, on reopened to resolved transition

Regards,
Daniel

0 votes
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.
December 24, 2020

Hi Samuel,

You should be able to include in your query this: status was in reopened

Samuel Smiles P December 24, 2020

@John Funk  I din't get. I need to add an validator in workflow and a resolve screen when the issues are moved to resolved status. So which validator will work to know the issue was ever in reopened status?


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.
December 28, 2020

There's probably a couple of ways to do that. One is to set the value of a custom field when the status moves to Reopened. Then check the value of that field in a Validator when moving to the status in question.

Another is create a new Transition from Reopened to InProgress to force the user to navigate to that Status. 

Finally, you could get an add-on like JMWE or ScriptRunner where you could write your own validator. 

Suggest an answer

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

Atlassian Community Events