Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-80329

Issue collector ignores the default value set for a customfield in Jira

    XMLWordPrintable

Details

    Description

      Issue Summary

      Issue collector ignores the default value set for a custom field in Jira.

      Steps to Reproduce

      1. Create a custom field, for example: 'First Answer'
      2. Set the default value for the field 'First Answer'
      3. Remove the field 'First Answer' from create-issue screen for the issuetype used to set the issue collector
      4. 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            msood@atlassian.com MonaS
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: