We have a custom issue type called Project Group. Project Group is a Multi Select field that appears on the Create Issue screen associated to our project. We created a field configuration and field configuration scheme that were associated to our project and in this field configuration we marked the Project Group field as Required.
The problem arises on the Create Issue screen. When the screen is rendered, these fields do not have the asterisk beside their name indicating that they are required. As well, if the user selects the "Configure Fields" option at the top of the Create Issue screen they do not see this field.
Our understanding was that the expected behaviour of a required field was that the user would not be able to deselect that field in the Configure Fields option of the Create Issue screen.
Is this a bug or expected behaviour that we just missed?
That really does sound like the field configuration you think you've got is not applied to the project and/or issue type. Could you check that VERY carefully? (It's the one I miss every time)
A further test - what happens when you actually create the issue and leave the field empty?
To double check this I verified this on the project's configuration page and added a couple of other custom fields to the page, marked them as required in the field configuration and they work as expected. One was a default text renderer field and the other was a Radio Buttons field. When I mark them as required in the field configuration they show up as "Required" on the Create Issue Screen and the user can not deselect them in the Configure Fields option.
Any other ideas ... ?
That's good - it means the schemes are correctly set up and the mandatory check is working.
Unfortunately, I'm now stuck, because it really should be starring the fields on the screens. Are you on Jira 5.1? My test system shows them ok, so I'm lost. I'd also have a dig through the logs to see if there's any breaks there, but I'm clutching at straws.
Someone might ask this too, but what's the list of options on the project-group select? And have you modified any of the templates to maybe get rid of the "none" option? (Again, lots of straw-grasping here)
The field is visible. I put some more detail under the comments to Nic Brough's answer. The field is visible initially, but if I select Configure Fields and switch to a Custom view the field is not visible. If I enter nothing and try to create the issue I get an error message around the field.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...
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!
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