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

Workflow Validators on Optionally Required Field?

Hello!

I am curious how everyone would go about adding a validation check to a field that is only required sometimes.

Currently, we have a custom field called 'DOC REQUIRED'.  So, as you can probably guess, if this dropdown is set to 'YES', then another field called 'LINK TO DOC' must be populated.  This is checked on the transition between the columns 'In Progress' --> 'Ready to Review' and also 'Ready to Review' --> 'Done'.  We are currently using conditions for this validation.  We have one condition that says if the 'DOC REQUIRED' field is not set to 'YES', then no problem go ahead.  Inside that condition we have a nested condition that states that if 'DOC REQUIRED' is set to 'YES', but there is nothing in the 'LINK TO DOC' field, then it blocks it. 

The functionality works fine and it is a passable solution.  The only problem is because we are not using a validator, there is no error message that shows up.  So, what often happens is that developers don't know why they cannot move their tickets because they have forgotten the requirements.

Does anyone have any other possible solutions for this case or a similar case?

Is there an elegant way to use conditions and validators together?

 

I am looking to learn just as much (probably more) than I am looking for a perfect solution to the problem, so any constructive and related input would be cool.

1 comment

Hi Michael,

Full disclosure, again :) I work for a marketplace vendor - we make Jira Misc Workflow Extensions (JMWE) - but if you have a third-party app for workflows, you can see if any validators are offered and what you can do with them.

In this case, if you do happen to have JMWE running in your Cloud instance, you could set up conditional validators. Take a look at this example, which could help you set up a more robust validator:
https://www.innovalog.com/jira-blog/videos-jmwe-jira-cloud/257-workflow-validators-for-jira-cloud

Similar to yours use case is described better by Rachel Wright. While it is focused on Jira Server, it is also available for Jira Cloud: https://www.jirastrategy.com/apps/verify-approval-in-a-jira-workflow

Best!

Like John Funk likes this
John Funk Community Leader Apr 14, 2021

Hi Michael - Welcome to the Atlassian Community!

Just a note that JMWE would easily take care of your need. We use it in the Cloud version and it is fantastic. 

Comment

Log in or Sign up to comment
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 ...

326 views 3 14
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