Modify Field validator in workflow

Nofar Ben Kereth
Contributor
August 4, 2020

Hey, 

 

I added a validator to one of my transition where the user have to modify the Resolution field (Resolution has a default value). But when i'm trying to transition the issue without changing the Resolution, it continues as usual. Any suggestions of it is not working? Maybe some restriction with the Resolution field (sice it always had a default value? 

 

Thanks,

Nofar

1 answer

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.
August 5, 2020

Hi Nofar,

Can you share what you have for your Validator?

Nofar Ben Kereth
Contributor
August 6, 2020

Only Modify Field for Resolution in this specific transition 

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.
August 6, 2020

Thanks Nofar - just curious, but why are you placing a default value in the field and then making them modify it? Why don't you just leave the field blank and then use a Field Required Validator? 

Nofar Ben Kereth
Contributor
August 6, 2020

For Resolution field I have to set a default value, I have set it to Done. Users usually don't notice they need to change the field to the right Resolution value when they have a default value. A mandatory field won't help here since there is a default value. If you have any other suggestions that would make the user choose a value other than the default one, ill be more than happy to here!!

 

In the use case I described above, I want to add a default value of None and make the user modify the field on specific transitions . 

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.
August 6, 2020

Where are you setting the default value for the Resolution field? That is not standard out of the box functionality with Jira. You need to find where that is getting set and remove it out. Maybe in a post function or an automation rule. 

Nofar Ben Kereth
Contributor
August 6, 2020

In the Resolution field configuration, you have to mark one of the values as default. Seems like im missing something

Nofar Ben Kereth
Contributor
August 6, 2020

Ok, I was under the impression that I must have default and now I found the Clear Defaults option. That solved it. 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.
August 6, 2020

Can you share a screenshot of that? And how are you navigating to this page?

If you are in the actual Field Configuration page, then just edit it to not make the Resolution mandatory. 

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.
August 6, 2020

Great! Glad it worked out for you.  :-)

Can you click on the Accept Answer button to close this one out? Thanks!

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