Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 macro caching issue

I have a Confluence connected to a JIRA and Application links looks fine.

The JIRA Macro has Cache turned off, but still it is random what I do see in the Macro, mosly

JIRA Issues (0 issues)

But somethis it correctly - shows the issues. Clicking the JIRA Issues links always brings me to the JIRA showing the correct items.

The 2 instances does not have common userbase, but the username/passwords are the same.

Why does this seemeed cached still. I am pretty sure the "problem" lies on the Confluence side, not JIRA.

1 answer

Hi, you can go to Confluence->Browse->Confluence Admin->Cache Statistics to see what is being cached.

There is an item called "JIRA Issues". If you click on Display: Advanced, you can edit this cache as well. If you want all JIRA Issues Macro to not be cached, simply set this to 0.

Also, if you want to change things like expiry time etc advanced features, use the ehcache.xml in Confluence.

Hello @Harry Chan5, hello @B_ Normann P_ Nielsen,

have you found a solution for the recent Jira / Confluence versions? We are using Confluence 6.13.8 and Jira v8.5.0 and this seems to not work anymore.

The GUI simply does not allow a value below 1.

I tried to set the value manually to 0 in the created cache-settings-overrides.properties and restarted the server. It still doesn't work.

Use

<ac:parameter ac:name="cache">false</ac:parameter>

 

Its not a GUI options, so the page source need to be edited  use https://marketplace.atlassian.com/apps/1215664/source-editor-for-confluence?hosting=cloud&tab=overview

 

So the complete macro is like:

 

<ac:structured-macro ac:name="jira">
<ac:parameter ac:name="columns">Summary,key,Reporter</ac:parameter>
<ac:parameter ac:name="server">Netic JIRA</ac:parameter>
<ac:parameter ac:name="maximumIssues">1000</ac:parameter>
<ac:parameter ac:name="cache">false</ac:parameter>
<ac:parameter ac:name="serverId">1b92b7a9-e280-3ff3-9ef9-1d9585f4e0cb</ac:parameter>
<ac:parameter ac:name="jqlQuery">status not in (Resolved,Closed,Frozen)</ac:parameter>
</ac:structured-macro>

 

Try setitng in a few JIRA Macros in a page, save, edit and investigate them via the Source Editor

Like Johannes likes this

Thank you very much!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

335 views 23 8
Join discussion

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