Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-30942

Custom field context default value not updated in Create Issue Screen when changing Projects/Issue Type field

XMLWordPrintable

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      In Create Issue Screen, when we change the Project field to other projects, custom fields like Select List and Text Field do not refresh themselves to reflect the Default value specified in the Custom Field's contexts.

      Steps to reproduce:

      1. Create a Select List type custom field.
      2. Create two contexts for the custom field, one for Project A and another for Project B.
      3. In both contexts, create the same list of selectable items, but give them different Default values.
      4. Associate the custom field to the Create Issue screen.
      5. Create a new issue. In the Create Issue Screen, change the Projects field to Project A. Observe the custom field's default value. (See BugReport3.jpg)
      6. Change the Projects field again, this time to Project B. Observe that the custom field value does not change to the default value correctly, and appears as "None". (See BugReport4.jpg)
        (Screenshot for the contexts: BugReport5.jpg)

      Same thing happens for the Text Field custom field. Except that instead of going to "None", the text field retains the default value of the previous selected project.

      Only tested for Select List and Text Field, not tested for other custom fields.

        1. BugReport5.jpg
          BugReport5.jpg
          47 kB
        2. BugReport4.jpg
          BugReport4.jpg
          21 kB
        3. BugReport3.jpg
          BugReport3.jpg
          20 kB

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              dleng Daniel Leng (Inactive)
              Votes:
              47 Vote for this issue
              Watchers:
              58 Start watching this issue

                Created:
                Updated:
                Resolved: