Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira issue/Filter' macro not Updating by itself

Edited

Hello,

 

I have a defects/bugs logged in Jira and they are all differentiated based on "Labels", I am using Jira issue/Filter' macro to dynamically query the 'count of issues' for each label. The issue is that the count is not updating by itself when I added new bugs with the specific label. I have to click 'edit' and then publish changes again for the count to increase or decrease.

The table is shown below. 

Sr. 

Category

Defects

1

Category -1

3 defects

2

Category -2

4 defects

3

Category -3

11 defects

4

Category -4

N/A

Please let me know if there is. I would be grateful.

2 answers

Hi @Sehreen Jafry, Welcome to the community.

If the JIRA issues macro is not refreshing automatically then just set the JIRA Issues macro's cache parameter to off or flushing the cache in Confluence.

1) There is a "cache" parameter that can be switched to off.

The macro maintains a cache of the issues which result from the JIRA query. If the 'cache' parameter is set to 'off', the relevant part of the cache is cleared each time the macro is reloaded. (The value 'false' also works and has the same effect as 'off'.)
Note: This parameter is available only if you insert the macro via wiki markup or by editing the storage format of the page. The macro browser does not offer this parameter.

(or)

2) You can flush the cache by following below steps:

Go to Confluence Admin > Cache Statistics, and Flush All

Refresh the page and check the new status. 

Thanks,
Ram.

Thank you for your reply. I asked my Confluence admin regarding this option ( as I have limited access) but she was of the opinion that clearing cache might end up clearing the confluence pages in Draft state. So all she did was run a 'macro repair' function which she found in the admin area and I think it might have done the trick as the macros are updating on reloading the page.

0 votes
Tarun Sapra Community Leader Sep 18, 2018

Hello @Sehreen Jafry

Isn't the count updated automatically when you refresh the page, i.e. you add a new bug in jira with a certain label and then you refresh the confluence page, that should refresh the count.

Unfortunately, that's not happening.


I have added a pie chart macro to the page as well, and it updates every time I refresh but the 'Jira issue Fitler' count refuses to budge. Its only when I click 'Edit', and go into the Edit mode, the count updates.

Is there a solution for this? I have the same issue as well. How do we get the Jira issue filter to auto refresh? Please help!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

960 views 7 42
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you