We do have JIRA custom workflow and it does contain multiple custom fields. Now as per Atlassian making custom fields mandatory on subsequent screens are not possible except first screen i.e. Create Issue Screen. Now our business insisted us to atleast introduce * with RED color or make the custom field desciption to RED color, to make the field look like mandatory.
check this code:
You can add the code to the field description of a custom field. (Depending on the JIRA version you'Re using). Alternativly load it as a webresource module in a custom plugin
Yes you can have a customfield to be mandatory on any screen not just Create Issue Screen.
You have to configure the customfield to mandatory in the field configuration scheme. It will then be mandatory on every place.
If you want just the * with a RED colour, you can put this in description of the field and it will be visible on all the screens.
Sorry I feel I should put more light here. The custom field has to be placed on subsequent screen not on the Create Issue screen. When we make custom field mandatory on subsequent screen, while we create issue, it asks to provide value for the custom field which is residing on different screen. Hence this is not the right stuff and I also identified thrid party plug-ins that can help me to acheive this but because support is not available for those we cannot take risk.
But as suggested by Christian Czaia I placed script and it showing me * with red color next to custom field. Thanks a lot Christian Czaia and Thanks a lot to everyone.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot