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

REFRESH_ISSUE_PAGE javascript event does not refresh attachments

      If i am viewing an issue with an attachment
      then delete the attachment with the rest API
      then run the javascript to update the issue page:

      JIRA.trigger(JIRA.Events.REFRESH_ISSUE_PAGE, [JIRA.Issue.getIssueId()]);
      

      The page is updated, but the attachments are stale.

            [JRASERVER-43474] REFRESH_ISSUE_PAGE javascript event does not refresh attachments

            Great gtanczyk,

            I will proceed to close this one out as resolved in 7.0. Thanks

            Oswaldo Hernandez (Inactive) added a comment - Great gtanczyk , I will proceed to close this one out as resolved in 7.0. Thanks

            After checking this with Filip: this is not a problem, since 6.5 we are not hiding attachments panel anymore, even if it is empty.

            Related: https://ecosystem.atlassian.net/browse/JDDAP-67 (this change was introduced together with drag and drop to attachment module).

            Grzegorz Tanczyk (Inactive) added a comment - After checking this with Filip: this is not a problem, since 6.5 we are not hiding attachments panel anymore, even if it is empty. Related: https://ecosystem.atlassian.net/browse/JDDAP-67 (this change was introduced together with drag and drop to attachment module).

              Unassigned Unassigned
              cwhittington Christopher Whittington (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: