Hey all,
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?
So may be you need to configure Options for this field? Is it visible?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If this customfield has been created with a plugin, check your paths to view and edit templates in atlassian-plugin.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This field wasn't created with a plugin unfortunately, thanks though :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ... ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I leave the the field empty and try to create the issue, I get an error message: "Project Group is required" ... so it is definitely behaving as if required, it's just not showing as such when I configuire the visible fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is happening on Jira 5.1.2#773
I haven't modified any templates to get rid of the none option and the list of options is this:
There is no default option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.