Issues filtered by ScriptRunner visible but not scheduled in JIRA Portfolio Edited

I have an issue filter filtering on components using ScriptRunner and componentMatch. This is combined by an OR clause with a filter on labels. The issue filter works as expected; the isusses are showing up on the board that is input to my Portfolio. 

However in Portfolio all issues are visible but only the ones filtered out based on labels are scheduled. The ones filtered out based on componentMatch are not scheduled and thus not included in the plan.

Anyone stumbled on the same problem?

1 answer

1 accepted

1 vote

Hi @PB

This was a bug that has been corrected in a later version of Scriptrunner (I believe 5.0.15)

Try updating scriptrunning to the latest version and see how it goes!

 

Cheers,

Thomas

 

Hi @Thomas Barthelemy

The problem Per-Åke reported is still there even after upgrade of Scriptrunner to 5.2.2.

When label is removed the issue is no longer scheduled. The filter query in board setup looks like this:

NOT (issuetype = epic AND status = done) AND (project in (eliot, ragnar) AND (labels in (SW, SW-TEST) OR component in componentMatch("^sw.*")) OR project = cospa) ORDER BY Rank ASC

Where eliot, ragnar and cospa is projects!

Any suggestions is much appreciated!

/Daniel

Hi @Daniel Miks,

 

In this case I'd suggest raising an issue with ScriptRunner with those details. The base starting point for support would be http://www.adaptavist.com/w/products-plugins/adaptavist-scriptrunner/scriptrunner-for-jira/

 

Let met know how that goes.

 

Cheers,

Thomas

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 26, 2018 in Portfolio for Jira

New Portfolio for Jira Getting Started Guide

We've just launched a brand new guide to help you get started with Portfolio for Jira.  This guide is a companion piece to our new demo. The guide walks you through use-cases, best practices an...

246 views 7 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you