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

How to automate updating of JIRA filters/query on Confluence page

Hello everyone,

We have our Confluence page for each step of a sprint and this page needs to be updated every sprint with the sprint related stories.

 

The team, usually updates the Jira query or filter manually when editing the Confluence page each sprint. The issue is that this is a manual process prone to human error.  I have pasted bellow How the page usually looks once all the data is pulled from JIRA.

My idea was to write a script, not sure in which language or how to link it to both Confluence and JIRA, haven't written scripts at all.

These are the steps that I have identified on what the script should update:

  1. For project is CLOUD and issuetype is STORY  change currentFixVersion from … to  … and nextFixVersion from … to …

This is our current JIRA query:

project = PROJECT NAME AND issuetype = Story AND fixVersion in (S4.3.20, S4.3.20DF, S4.3.20FT, S4.4.20, S4.4.20DF, S4.4.20FT) AND fixVersion not in (S4.2.20FT, S4.5.20DF, S4.6.20DF, S5.1.20DF,S5.2.20DF) AND ("Lead Countries" = "COUNTRY NAME" OR "Other Countries" in (COUNTRY NAME AND ALL)) AND (COUNTRY NAME != "Not Applicable")     

 

Confluence_JIRA_Filters_Query1.jpg

Thank you for your help and please ask any questions that might make this clearer.

 

1 answer

Hi @Oana ,

We can suggest trying our app - Table Filter and Charts for Confluence.

Use the most simple JQL query for your Jira Issues macro (such as "project = qwerty") and wrap the macro into the Table Filter macro body.

You'll be able to filter (and save the results!) in the page view mode using a friendly Excel-like interface:

Mon 1-1.pngThe Table Filter macro provides different kinds of filters: dropdown, date range, icon etc. as well as reversed filters to get the most accurate result.

Hi @Katerina Kovriga _Stiltsoft_ , 

Thank you for your answer.

This seems to be a paid solution, correct?

I am interested in something that I can do by myself before looking into paid solutions.

Would this work with the free version? 

 

Thank you , 

 

Oana

Yes, it's a paid app: filtering is only one part of the available functions. The addon supports Cloud/Server/DC and provides Excel-like features (pivots, table calculations, conditional formatting, table merging, pagination, various kinds of charts based on static and dynamic data, import/export to CSV, etc.).

It may come in handy if you use a lot of tables in Confluence (both manually created and automatically generated by such table macros as Jira Issues, Page Properties Report, etc.). So feel free to give it a try - you'll have one month to explore all the features with an evaluation license.

Thank you @Katerina Kovriga _Stiltsoft_ this seems interesting and useful but I am looking for something different.

Hope to get a bit more answers and help.

Oana

Suggest an answer

Log in or Sign up to answer
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...

78 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