-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Forms - Public Form
-
None
-
7
-
Minor
-
1
Issue Summary
Public forms with a required field on a different issue type fails to load
Steps to Reproduce
- In a CMP project, create a custom field applicable only for one work type across all projects in your instance. You can pick a work type like Story.
- Go to Jira’s upper right menu
→ Work items → Fields → Fields
- Find the custom field. then click on the three dots and click on Contexts and default values then click on Edit context
- Under choose applicable issue types , click on an issue type, say, Story and pick Global context under Choose applicable context. Click on {{Modify }}to save it.
- Go to Jira’s upper right menu
- Make the custom field required in your Space. Go to your CMP project → Space Settings → Summary → scroll down and find the default field configuration.
- Open that, confirm your CMP project is listed under the used in x spaces info box. If not, find the correct default field config.
- This page will show a list of fields, find the custom field and mark that as required.
- Now go to the CMP project → Forms → Create new form → Blank form.
- Create a form of work type Story. Set it to public. Preview the form. It will ask for the required field to be added and properly show up.
- Create a form of work type that’s not a Story. Either Bug or Task will do. Set it to public. Preview the form. It will break as this work type does not have the required field
Expected Results
The form should properly as the custom field is not required for the specific work type.
Actual Results
The form does not load.
Workaround
For now, you can mark the custom field as not required via the Space settings.