Issues linked within a certain timeframe

Stephanie M
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 7, 2019

Does a way exist to see what issues were linked (blocked, blocked by) within a certain timeframe  (past 3 days) using JQL?

The problem I'm trying to solve is that issues get linked together that aren't always communicated before the issue linking happens

My company has Scriptrunner

1 answer

1 accepted

0 votes
Answer accepted
Peter-Dave Sheehan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 30, 2019

Jira doesn't see to track the date of the links being added/removed other than within the changehistory. The changehistory is not exactly searchable via JQL.

So the short/simple answer is no.

What you'd need to do is somehow manually flag the issues that have had the linking communicated then compare that in the JQL to see which issues have links but not this flag.

Something like

project=ABC and issueFunction in hasLinks() and labels not in linking_acknowledged

If you don't want manual flagging, then scriptrunner does give you the ability to create a custom field with a script that would return the last date of issue linking by searching through the changehistory. Then your JQL could look at that date field.

Aliosha Romero May 17, 2024

I have tried to find the scriptrunner option but failed so far. Could you point me in the right direction?

Suggest an answer

Log in or Sign up to answer