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

Freeze the JIRA ticket status on a Confluence Page

We create Confluence pages corresponding to each Sprint in JIRA.

Page 1 : We have JIRA JQL Macros Eg : jql : project = ABC and sprint = S1

Page 2 : jql : project = ABC and sprint = S2

 

Imagine Sprint S1 when Closed has 10 issues ( 8 Done and 3 In Progress ). 

The 3 'In Progress' issues are moved to next Sprint S2 and are Closed in S2.

 

Now if I visit Page 1 in confluence, it would show 10 issues all 'Closed' which is the current status. I have no-way of knowing what was the status of all issues "when Sprint S1 was Closed". (I am aware of JQL functions like "incompleteInSprint". However they will not help in my case as I need the exact status )

Is there a way I can "freeze" a confluence page to retrieve data from JIRA only once and cache it somehow, and don't query JIRA again ?

 

 

 

 

1 answer

0 votes
Charlie Misonne Community Leader Feb 11, 2021

I'm pretty sure you can't freeze the Jira macro.

A couple of workarounds I have in mind. None of them are ideal.

  1. Take a screenshot instead of a using a macro
  2. Use scriptrunner and use a scripted field where you fetch the status at a particular moment in time 
  3. Edit the time to live
    By setting this to a very high number no Jira macro's will be refreshed. Of course tis impacts your whole instance
    last paragraph on:
    https://confluence.atlassian.com/confkb/how-to-bypass-the-caching-mechanism-for-jira-issues-macro-in-confluence-1005331319.html

@Charlie Misonne 

Thank you for your answer. Let me try experimenting with the Script Runner approach.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

113 views 0 3
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