Tell me a JQL query that will show me all tasks that do not have incoming links.
Hi @Varvara K_Thanks for the question.By saying incoming links, did you mean that no other issue links to them?If yes, you can try the following JQL.
issueLinkType IS EMPTY
@Gor Greyan There are inward and outward links, but I need all the tasks without inward links.
Dear @Varvara K_If you have Scriptrunner, I think this one will workissueFunction not in linkedIssuesOf("", "is blocked by") AND issueFunction not in linkedIssuesOf("", "is cloned by") AND issueFunction not in linkedIssuesOf("", "is duplicated by") AND issueFunction not in linkedIssuesOf("", "has to be finished together with") AND issueFunction not in linkedIssuesOf("", "has to be done after")I not, I guess you can just write this type of JQL, which will exclude inward types.issue not in hasLinksOfType("blocks", "clones", "duplicates", "has to be finished together with", "has to be done after")Couldn't find any more well solution.
@Gor Greyan Thank you for your answer!
Hello @Varvara K_
I'm Cristiano from Appfire Team,
The software our team works on, JQL Search Extensions for Jira can easily help you with that, with the following queries ie:
linkType = "is blocked by" AND linkType = "is duplicated by"AND linkType = <Any other outward transition you may use>
Also the following query will allow you to query for anything more specific:
issue in linkedIssuesOfQuery("project=ACME AND type = EPIC", "blocks")
finds EPIC issues that project ACME blocks.You are also able to query for link count, issue linked status and so on.
If you need any help to set this up, feel free to contact our support team.
Regards,
It depends on what you want the JQL to return. For example, if you just need to see all issues in your project that are in progress and assigned to you, you can use:
project = YOURKEY AND status = "In Progress" AND assignee = currentUser()
If you share the exact filters you need, we can tweak the query for you. For more you should visit this: Atlassian Community.
It looks like you're new here. Sign in or register to get started.