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 votes

Hi @Per-Åke Bligård

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 Join to answer
Community showcase
Josh Frank
Posted Dec 01, 2017 in Portfolio for Jira

Portfolio for Jira: Share your tips!

The Portfolio for Jira team wants to hear from you. Share your top tips for building a great Portfolio for Jira plan for a chance to win some Atlassian swag.  Do you structure your teams i...

537 views 6 8
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot