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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,564
Community Members
 
Community Events
184
Community Groups

Ways to display outputs of ScriptRunner functions - aggregateExpression()

Delighted to uncover some of the functions that ScriptRunner provides - especially the aggregateExpression() function which will be an absolute godsend for reporting!

I'm trying to work out better ways of displaying the calculated key/value pairs that aggregateExpression() outputs.  Are these calculated values only able to to be viewed in the Advanced Search for Issues screen in Jira or are there ways of being able to extract the calculated values (not the resulting list of issues) and perhaps display them on a dashboard gadget, Confluence page or maybe email their outputs to somewhere.  We have Jira Automation too if throwing that into the mix helps..?

Cheers!

1 answer

0 votes
Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 14, 2020

Hi John,

Thank you for your question.

I can confirm that if you are using ScriptRunner for Jira Cloud then we do not provide the aggregrateExpression() search method as this is currently only available in the Server version of ScriptRunner.

As for the server version, I can confirm this output can only be displayed in the query and cannot be displayed in dashboard gadgets as it is calculated when the JQL search is run.

If you have further questions around the server version then I would ask you to raise a support ticket with our server support team here so that a member of this could advise if there is another way to achieve your requirement. 

I hope this helps.

Kristian

Hi Kristian,

do you know if it is possible to show the aggregateExpression() results on a confluence page?

 

Best 

Hannes

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events