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

Possible to use Jira Scriptrunner enhanced seach filter in Jira Issues macro?

grainger.atlassian.net

Migrating to Confluence cloud, we have a lot of on-prem Jira Issues macros that use Scriptrunner advanced JQL functions. For example project = OHMOD AND status != closed AND issuefunction in hasLinkType(Blocks) order by Sprint, fixVersion 

In the cloud, I created a Scriptrunner enhanced search filter with this JQL: issueFunction in linkedIssuesOf("project = OHMOD AND status != closed", "blocks") order by Sprint, fixVersion 

When I specify the name of the filter in the Confluence Cloud Jira Issues macro, it can't be found. Putting the JQL directly in the macro doesn't work either. Is it possible to display the results of an enhanced search in Confluence?

1 answer

1 accepted

1 vote
Answer accepted
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.
Aug 06, 2021 • edited

Hi Richard,

I can confirm that inside of ScriptRunner for Jira Cloud that you must write your filter on the Enhanced Search page.

However, I can confirm that you can share this filter and this will then create a standard Jira filter with the same name where the issue keys returned by this filter are synchronised to and you can specify this filter on Agile boards or in the Jira filter macro in Confluence in order to return the issues.

I can confirm we have a knowledge base article located here which explains how to use the results of enhanced search filters in places such as Agile boards which explains this in more detail.

I hope this information helps.

Regards,

Kristian

Well, this means the filter we created on Scriptrunner is not updated dynamically right? 

For example if there is a new issue that meets the criteria... it won't show up in the standard filter until we sycn the filters again manually...

 

Might help with some use cases but will cripple the use of our previous JQLs... It's sad that the functionality could not be carried over to cloud as it was. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events