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

XMLWordPrintable

    • 6.02

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? 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.

              Assignee:
              Oswaldo Hernandez (Inactive)
              Reporter:
              Grzegorz Tanczyk (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: