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,457,461
Community Members
 
Community Events
176
Community Groups

ScriptRunner "may be unblocked"

Dear all, 

I want to create a filter to search tasks which may be unblocked -> status "BLOCKED" with linked issuses which have been DONE. I was trying this: 

project = X and status = BLOCKED and issueFunction in linkedIssuesOf("status = Done" ,"is blocked by")

What is wrong?

Thanks,

1 answer

Hi @Paulina Mijal , you need to use "link name" which goes FROM linked issue TO your issue with "Blocked" status. So it might be something like...

  • project = X and status = BLOCKED and issueFunction in linkedIssuesOf("status = Done" ,"blocks")

Can you give it a try?

It doesn't work :( I found that one example and I know it has to be findable, but just nothing works :( 

Can you share screenshot of both issues links configuration?

@Martin Bayer [MoroSystems, s.r.o.] The first screenshot is from the  BLOCKED issue and second is the one is DONE. 
Thanks!!!!
image.pngimage.png

Hi @Paulina Mijal I just creatd testing data on my instance and it works as expected. What version of Jira and Script runner do you use? Can you Reindex your STOR project?

Our version of Jira is 8.8.0 and scriptrunner is the lastest.

Sorry, I have only older version of Jira available to test it. Can you try to reindex STOR project?

@Martin Bayer [MoroSystems, s.r.o.] What does the reindexing? How this affects to the project and on the entire system?

@Paulina Mijal Index is "file" which is searched when using JQL. Reindexing process will update the index with current data on issues. More about reindex can be found here: https://confluence.atlassian.com/adminjiraserver/search-indexing-938847710.html

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events