Forums

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

In one of my workflow i am getting following error

Ganesh
Contributor
July 26, 2021

how to rectify this errorScreenshot (32).png

3 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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.
July 26, 2021

There are two things that might cause this:

You have a validator on the workflow transition you are trying to run.  The validator is failing, returning a "failed validation" message, but it's not constructed quite right, the "please populate the resolution field" should replace the "it seems..." and "if you think..." lines, not appear alongside them

Someone has done validation in a post-function, and it's failing that.  This can corrupt your data and should never be done, it should be a validator.  (I doubt it's this, there's a 99% chance it's the validator above, but I had to mention it because it does need to be checked)

Either way, you will need to talk to your administrators about getting the workflow fixed.  This actually looks like a very poor design to me - the resolution field should never need validation like this at all, it should be set by a human or a post-function when closing an issue, and cleared when issues are re-opened, it should never have to be checked and asked for.  Plus, you should never have the resolution in a place that would allow you to correct "resolution is empty" manually.

Ganesh
Contributor
July 26, 2021

@Nic Brough -Adaptavist- You are right validator has been applied to the transition, i have removed validator and it executed perfectly. Thanks!!!

@Nic Brough -Adaptavist- @Mohammed Faisaluddin  and @Jack Brickey  Thank you so much for your time to writing to me helping in resolve my issue. Please keep support us. Thanks!!

0 votes
Mohammed Faisaluddin July 26, 2021

the resolution field is required to make transition to the workflow status . try to add the resolution and see if it is able to transition

Nic Brough -Adaptavist-
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.
July 26, 2021

NO!

To do that, you would need to add the resolution field to the "edit issue" screen.  NEVER do that, it will corrupt your issue data.

Mohammed Faisaluddin July 26, 2021

yes @Nic Brough -Adaptavist- what i meant was the same add the resolution field in the edit screen and then try to edit the field . 

Nic Brough -Adaptavist-
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.
July 26, 2021

That's exactly what I am saying you should never do.  Never add the resolution field to an edit screen.  You will break your data.

0 votes
Jack Brickey
Community Champion
July 26, 2021

I assume you getting this error when you go to transition an issue to a resolved status of some sort. Do you get a screen that provides the opportunity to fill in the resolution field? If so then simply fill in the resolution and it should resolve itself. If you are not getting The opportunity to complete the resolution field then contact your Jira administrator. If you are the Jira administrator then go into project settings and workflows edit the workflow and add a screen to any transition into any done status category. The screen should present the resolution field to the user so they can fill in the value when closing an issue. Also be sure to clear the resolution field on any exit transition out of any done status category.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events