Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to find a suitable validator for the workflow transition

Transition:

In Progress (Status Detail: Under Investigation, Root Cause Known, Deferral Requested) → Resolved

Note:Only possible for "Resolution"s which are not "Fixed"

3 answers

0 votes

So you want a validator that checks what the user has entered in the transition screen and if they have not selected "fixed", then fail the transition if it is from one of those three status going into resolved.

You'll need to use an app to provide that.  I'd recommend one of the scripting apps to do it, as I suspect you'll have other things like this you might want to do.

However, you might want to do it without any apps.  In that case, take a different approach - on each of the three transitions, do not ask the user for the resolution, but use the "update field" post-function to set the resolution to fixed.  Anyone jumping the issue into resolved will therefore set the resolution correctly.

Thanks Nic,

I will try the same and check if it works

0 votes
John Funk Community Leader Jun 16, 2020

Hi SRP,

Can you give us an exact example of what you are trying to accomplish? The steps and what you expect to see?

Hi John,

Basically I am not able to find a suitable validator for the below transition:

Transition: In Progress (Status Detail: Under Investigation, Root Cause Known, Deferral Requested) → Resolved

Description: Only possible for "Resolution"s which are not "Fixed"

0 votes

It is not clear what you are trying to achieve here.

Hi @SRP 

 

If you want these  status -->Under Investigation, Root Cause Known, Deferral Requested to be appeared on if Resolution is marked as Not fixed or Resolution not in fixed .

 

You can actually add scripted conidtion 

 

issue.resolutionObject.name != "Fixed"

 

Hasna

Thanks Hasna,

Can you please specify where I can write this condition. I am looking for a validator to fulfill this requirement.

so the status details is a field actually and the transition is from in progress to Resolved 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

684 views 7 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you