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

Labels are missing when users create work items from forms if the field is not available on the create screen for the work item type

XMLWordPrintable

      Issue Summary

      In some cases, when a work item is created as a result of a form submission, it is missing the labels that are added by default to indicate the source form which created the issue.

      Our support documentation describes this - What are forms and what can they do?

      When someone submit a response to a form, their response will automatically create a work item in the same project where the form lives. The following labels will be added to each work item:

      • Form
      • Form-<unique-form-id>

      But if the "Labels" field is missing from the create issue screen for the work item type, then these labels are not added. It seems that forms are using the create screen as a reference, even though a form and the issue create screen within Jira can have different field layouts 

      Steps to Reproduce

      1. Navigate to a Jira Software project and create a test form from the forms menu
      2. Navigate to the create screen for the work item type the form is being created against and remove the labels field from the list.
        1. You can find the Create screen by navigating to Project Settings > Work Items > Screens and expanding the relevant work item type
      3. Open the form preview for the form created in Step 1 and submit the form
      4. Check the work item created by the form submission

      Expected Results

      There are two labels added to the work item to indicate source 

      • form
      • form-xxxxx

      Actual Results

      There are no labels added to the work item

      Workaround

      The fix is to add the labels field to the create screen, but this will also make the labels field visible on the issue create screen within Jira

              Unassigned Unassigned
              cfc4ca56b4f8 Ani Gurudutt
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: