Invisible "Required" Custom Fields blocking issue progression

Hello,

I've created a custom workflow and a bunch of custom screens for Database Update workflow.

It'll be associated to just one project, while the standard workflow/screens/fields etc. will be for all normal projects.

The issue I'm having is that towards the end of my workflow, there's a release to QA that has a required field (called "Change Log") that requires the producer who's releasing the ticket to QA to enter in what's changed.

Now the issue is, this "required" field, that only appears on this particular screen, keeps blocking other points in the workflow because it's not filled out, even though it's not visible on other screens. i.e. I'll create a new Db Change Request, and fill out the Summary, Description, Priority, Due Date and Assignee and hit Create, it'll then block me with the following error;

"Change Log: Change Log is required."

If I make the Change Log "optional" this issue doesn't occur. Where have I gone wrong?

Thanks,

Adam

1 answer

1 accepted

This widget could not be displayed.

You haven't gone wrong.

Jira has a very simple approach to mandatory fields. They are either mandatory and have to be filled all the time, or they are optional. Screens and workflows are utterly irrelevant to this process.

What you need to do is find or write a plugin that implements a "validator" for "this field must be filled in". Make the field optional in the field configuration scheme (as you've already said) and then add the validtor to the transitions where you actually need the users to be forced to fill it in and you're sorted.

(Frankly though, although I've said "find or write", I wouldn't really bother writing. There's dozens of implementations of this in the marketplace as part of other plugins. I use the Jira Suite Utilities one mostly, but there are plenty more if you don't want to use that particular plugin)

I can't install plugins that aren't part of JIRA OnDemand though.. sigh.

There's nothing I can really do other than make it optional and beat those who don't fill it in then I guess.

Ah, you didn't say OnDemand, or I'd have mentioned that.

However, OnDemand DOES have the Jira Suite Utilities installed, so you should be able to add your validator right away!

Perfect. Sorted now.

Thanks a bunch Nic!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

137 views 1 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you