Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL for issueLinkType="blocks"

Brad B
Contributor
November 20, 2019

Hey,

For a test, I have two issues: Issue One and Issue Two.  Issue Two "is blocked by" Issue One, by creating a link between those two records.

If I do the JQL statement: issueLinkType = "is blocked by", Issue Two is correctly the only issue that is returned.  Here is a screenshot of that query:

IssueTwo.PNG

However, when I execute the JQL Query: issueLinkType = "blocks", (lower-case b, to distinguish it from "Blocks"), instead of only returning issues that block other issues, it returns all issues that are either blocking, or being blocked--in the example, both Issue One and Issue Two are returned.  Here is a screenshot of that query:

IssueOne.PNG

(1) How can I create a JQL query that will only return issues that block another issue, or (2) is this just a bug in how the "blocks" keyword behaves, at the moment?

Here is a quick video demonstration of the issue, in case anything about this question is unclear:  Link to quick YouTube video demonstrating question 

I've tried issueLinkType != "is blocked by", but that doesn't return anything.

Thanks, let me know if anything could use clarified.

1 answer

0 votes
Stepan Kholodov _ALM Works_
Atlassian Partner
February 20, 2017

Hello Paul,

Thank you for your request. 

Sorry for the late reply - we monitor Atlassian Answers primarily based on our add-on tags (e.g. 'structure' and 'addon-com.almworks.jira.structure’). Unfortunately questions without them often get missed in a general search query. I added one of our tags to this question so we can find it later if we need to.

 

The Synchronisers and the Generators can’t work together because the Synchronizers don’t ‘recognise’ Generators’ work in the structure. To avoid any conflicts between those two tools we strongly recommend to use either Synchronisers or Generators, not both.

 

The solution to the named problem would be using another Generator instead of the Synchronizers. So after adding top parent issues with the Insert Generator do the following: Extend - Linked Issues… - Link type: implements - Link Direction: parent issue is implemented by. After that all of the issues linked to the top issues should appear in the structure.

 

Please feel free to ask more questions if you need further assistance. It is more convenient to contact us through ServiceDesk - this way we will receive the request immediately and we will respond much faster.

https://support.almworks.com

 

Best regards,

Stepan Kholodov

ALM Works

Suggest an answer

Log in or Sign up to answer