Asterisk '*' mark is sometimes not showing against mandatory fields
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
When performing workflow transitions, sometimes the asterisk is showing against the fields but sometimes not.
For example, opening the transition for the first time shows the asterisk, but opening the same transition the next time does not show the asterisk.
Diagnosis
Environment
- ScriptRunner for Jira is installed on the instance.
Diagnostic Steps
- Removing all javascript customisation still reproduces the issue.
Cause
There is some customisation configured on the instance using the ScriptRunner for Jira plugin. You can look into it by navigating to Administration>>Add-ons>>Behaviours and then take a look at all the Behaviours configured for the affected projects.
So what is happening here is that the configuration using Behaviours is rewriting the dialogue page for the transitions here. While re-writing the page, it is removing the asterisk from the fields that are set mandatory using the JIRA configuration.
Workaround
Remove the Behaviours under Administration>>Add-ons>>Behaviours for the affected projects.
Resolution
Raise this issue with the ScriptRunner for Jira vendors for the proper resolution to the problem.