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

Transition from All to Custom in Issue create form will reset temporary attachments

XMLWordPrintable

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

      It is caused by this change:
      https://jira.atlassian.com/browse/JRA-34926

      In JIRA Quick Edit Plugin there is a fragment:

          /**
           * Go back to the server and retrieve all the available fields
           */
          refresh: function (values) {
      
              var instance = this,
                  deferred = jQuery.Deferred(),
                  data;
      
              if (values) {
                  data = values + "&retainValues=true";
              }

      while in QuickCreateIssue.java there is such statement:

             if (!multipleMode && !hasAnyErrors() && !toggle)
              {
                  final TemporaryAttachmentsMonitor temporaryAttachmentsMonitor = temporaryAttachmentsMonitorLocator.get(true);
                  temporaryAttachmentsMonitor.clearEntriesForFormToken(getFormToken());
              }

      Either we should merge toggle and retainValues or extend condition in statement mentioned above.

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              gtanczyk Grzegorz Tanczyk (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: