Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
6
-
Minor
-
15
-
Description
Issue Summary
Issue collector ignores the default value set for a custom field in Jira.
Steps to Reproduce
- Create a custom field, for example: 'First Answer'
- Set the default value for the field 'First Answer'
- Remove the field 'First Answer' from create-issue screen for the issuetype used to set the issue collector
- Mark the field mandatory via field configuration associated with the project.
Expected Results
The issue collector should consider the default value set for the field 'First Answer' and successfully create the issue for the given feedback.
Actual Results
Issue collector ignores the default value set for the field 'First Answer' rather than considering the field is mandatory & missing from create screen.
This happens because the issue collector search for all the fields for the selected issuetype. There is a warning appears under 'Embedding this issue collector'
The below error appears on the issue collector:
[04/10/2021 10:54:05] Required fields not present or fields too long in collector 'Test BS issuecollector' invoked from '*.*.*.*' by Mona Sood.
Workaround
The possible workaround is to add the required field on the create-issue screen or create a separate field configuration without marking 'First Answer' required.