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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: