Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-25640

JQL function for showing all issues linked to any issue by a given issue link type

    • 828
    • 70
    • Hide
      Atlassian Update – 21 December 2018

      Dear Jira users,

      We’re glad to announce that this issue will be addressed in our upcoming 8.0 release.

      You can find more details about our 8.0 beta release here — https://community.developer.atlassian.com/t/beta-for-jira-8-0-is-up-for-grabs/25588

      Looking forward to your feedback!

      Kind regards,
      Syed Masood
      Product Manager, Jira Server and Data Center

      Show
      Atlassian Update – 21 December 2018 Dear Jira users, We’re glad to announce that this issue will be addressed in our upcoming 8.0 release. You can find more details about our 8.0 beta release here — https://community.developer.atlassian.com/t/beta-for-jira-8-0-is-up-for-grabs/25588 Looking forward to your feedback! Kind regards, Syed Masood Product Manager, Jira Server and Data Center
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      originally copied from this comment

      Function linkedIssues() only shows the issues linked to a particular issue, I want to find all issues those are linked to other issues marked by a specific link type, e.g., "is blocked by".

      This function could incorporate querying issues that are linked to any issue with a given link type and bearing in mind that links have two identities, one in each direction, the link type could be direction specific or not.

      Examples

      1. find all issues that are duplicates of issue JRA-25640 (one direction, issue specified)
      2. find all issues that are blocking issue JRA-25640 or that JRA-25640 blocks (bidirectional, issue specified)
      3. find all issues that are duplicates of any issue, or which duplicate any issue (bidirectional, no issue specified)
      4. find all issues that are blocked (one direction, no issue specified)
      5. find all issues that are linked to a specific issue and display those based on a specific depth (linked issues displaying linked relationship two, three, etc., issues deep)

      Implementation Notes

      • The JQL function that exists must continue to work exactly as it does. If it is possible to overload the JQL function based on arity and this makes a consistent API, then this would be preferred. Otherwise, there may need to be a new function name which provides vararg behaviour as described above.
      • The link index entries added in 4.4 (I think) provide enough to build performant lucene queries for the above use cases. What's missing is the JQL function plumbing.

            [JRASERVER-25640] JQL function for showing all issues linked to any issue by a given issue link type

            Hi - I'm looking for a visual cue to put on the ticket so when we look at the board we can see that it is blocked. A bright red label, a red boundary, flashing lights - whatever works!  Any enhancements in the works for this?

            Alex Eldridge added a comment - Hi - I'm looking for a visual cue to put on the ticket so when we look at the board we can see that it is blocked. A bright red label, a red boundary, flashing lights - whatever works!  Any enhancements in the works for this?

            Hi all, I believe you will find really useful the following JQL functions provided by latest version of JQL Booster Pack (FREE):

             

            Jack Nolddor [Sweet Bananas] added a comment - Hi all, I believe you will find really useful the following JQL functions provided by latest version of JQL Booster Pack (FREE): parentsOf() subtasksOf() epicsOf() issuesInEpics() linkedIssuesOf()  

            Is there a page with more examples?

            I would like to add colors to cards based on filters. Marking a ticket which blocks another is quiete easy now (hooray). But what about the blocked tickets?

            I would like to colorize in orange:

            "This ticket is blocked by one or more other non-resolved tickets."

            and in green:

            "This ticket is not blocked by any non-resolved ticket"

            Thorsten Feldmann added a comment - Is there a page with more examples? I would like to add colors to cards based on filters. Marking a ticket which blocks another is quiete easy now (hooray). But what about the blocked tickets? I would like to colorize in orange: "This ticket is blocked by one or more other non-resolved tickets." and in green: "This ticket is not blocked by any non-resolved ticket"

            @Joshua Wyss

            "Solutions" like this are the exactl reason why my company is actively looking for Jira alternative (YouTrack by JetBrains, Azure DevOps by Microsoft, etc)

            vladan_colovic added a comment - @Joshua Wyss "Solutions" like this are the exactl reason why my company is actively looking for Jira alternative (YouTrack by JetBrains, Azure DevOps by Microsoft, etc)

            For those owning a license for Power Scripts (formerly known as JJupin] you have these features included.

            Florin Haszler (Alten Kepler) added a comment - For those owning a license for Power Scripts (formerly known as JJupin] you have these features included.

            @Joshua Wyss because I don't want to pay for scriptrunner to do something Jira already should have. 

            Victor Vucicevich added a comment - @Joshua Wyss because I don't want to pay for scriptrunner to do something Jira already should have. 

            when can we use this function issuelinks.. we have our own Jira instance in our server

             

            Deleted Account (Inactive) added a comment - - edited when can we use this function issuelinks.. we have our own Jira instance in our server  

            @Valadan Colovic I'm not sure what Atlassian's incentive to adding this feature is when ScriptRunner already has it and has more options. Plus, Atlassian surly make a profit off of the add-ons...

            Deleted Account (Inactive) added a comment - @Valadan Colovic I'm not sure what Atlassian's incentive to adding this feature is when ScriptRunner already has it and has more options. Plus, Atlassian surly make a profit off of the add-ons...

            OMG? JIRA still lacks this basic functionality? In Cloud?

            vladan_colovic added a comment - OMG? JIRA still lacks this basic functionality? In Cloud?

            Hi manohar.kurapati

            This suggestion relates to Jira Server only. For status updates on Jira Cloud please watch the corresponding suggestion https://jira.atlassian.com/browse/JRACLOUD-25640

            Best regards

            Gosia Kowalska, Product Manager for Jira Server and Data Center

            Gosia Kowalska added a comment - Hi manohar.kurapati ,  This suggestion relates to Jira Server only. For status updates on Jira Cloud please watch the corresponding suggestion https://jira.atlassian.com/browse/JRACLOUD-25640 Best regards Gosia Kowalska, Product Manager for Jira Server and Data Center

              agniadzik Artur Gniadzik
              chris@atlassian.com Chris Mountford
              Votes:
              829 Vote for this issue
              Watchers:
              439 Start watching this issue

                Created:
                Updated:
                Resolved: