Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-30077

JIRA issue macro aggressively caches, new issues take a while to appear in the issues macro

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      The new JIRA Issue macro, accessible via Insert > JIRA Issue, does not allow the user the configure caching. Currently it's always on. The problem here is that with caching always enabled, the information shown in Confluence is not always up-to-date.

      Steps to reproduce

      1. In JIRA, create a project with a key of TEST
      2. Create one issue under TEST
      3. On the Confluence editor, use Insert > JIRA Issue, and set the JQL to "project=TEST". Save the macro and page. One issue is shown
      4. Create another issue under TEST
      5. Refresh the Confluence page. The second issue does not appear until the cache is expired, or if it's flushed manually via Confluence Admin > Cache Statistics

      A workaround solution, You can remove the cache by following steps:

      1. Go to the page "Confluence Admin >> Cache Statistics >> Advanced"
      2. Search for the term "JIRA Issues".
      3. Change the value from "100" (default) to "1"
      4. Click the button "Adjust Size" to enable the change.

      Other issues

      This is a related but separate issue from CONF-22845, which addresses the original JIRA Issues macro.

            [CONFSERVER-30077] JIRA issue macro aggressively caches, new issues take a while to appear in the issues macro

            Sen made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3570147 ] New: JAC Suggestion Workflow 3 [ 4338309 ]

            Not really had this before but since upgrading to Jira 8.5 (Confluence on 6.13) we have seen this get a lot worse. Users complain that their issues are not being shown in realtime but I think it boils down to this problem. The items update when the refresh is used on the macro.

            Andy Hurley added a comment - Not really had this before but since upgrading to Jira 8.5 (Confluence on 6.13) we have seen this get a lot worse. Users complain that their issues are not being shown in realtime but I think it boils down to this problem. The items update when the refresh is used on the macro.
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow 2 [ 3185234 ] New: JAC Suggestion Workflow 4 [ 3570147 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3040872 ] New: JAC Suggestion Workflow 2 [ 3185234 ]

            John Klenk added a comment -

            My company is using Confluence 6.10.2, and this problem still happens.

            So when viewing a Jira query macro on a Confluence page, tickets that should be included/excluded may not be, and the content of the various fields will not be current (so you may be seeing an old description, summary, status, etc...).  To work around this, I have to wait 5-10 minutes and reload the page, or click the Refresh link for every query on every page.  Of course most people would expect to do that, so it causes lots of confusion and wasted time.

            Is there any way to get somebody from Atlassian to take another look at this?  Thanks!

            John Klenk added a comment - My company is using Confluence 6.10.2, and this problem still happens. So when viewing a Jira query macro on a Confluence page, tickets that should be included/excluded may not be, and the content of the various fields will not be current (so you may be seeing an old description, summary, status, etc...).  To work around this, I have to wait 5-10 minutes and reload the page, or click the Refresh link for every query on every page.  Of course most people would expect to do that, so it causes lots of confusion and wasted time. Is there any way to get somebody from Atlassian to take another look at this?  Thanks!
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2537019 ] New: JAC Suggestion Workflow [ 3040872 ]

            I am having a similar problem with my custom Confluence Macro. Can you please explain what the solution was so I can implement it on my custom macro code? 

            Deleted Account (Inactive) added a comment - I am having a similar problem with my custom Confluence Macro. Can you please explain what the solution was so I can implement it on my custom macro code? 
            Rachel Lin (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2281903 ] New: Confluence Workflow - Public Facing v4 [ 2537019 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 - TEMP [ 2172163 ] New: Confluence Workflow - Public Facing v3 [ 2281903 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 1933984 ] New: Confluence Workflow - Public Facing v3 - TEMP [ 2172163 ]

              tvu TruongA
              rchang Robert Chang
              Votes:
              65 Vote for this issue
              Watchers:
              83 Start watching this issue

                Created:
                Updated:
                Resolved: