Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-1960

Improve the JQL function linkedIssuesOfRemote() to support wildcards (or a prefixed filter)

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.3.17, 4.3.7
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 25 - Ends 2nd Aug, Sprint 26 - Ends Aug 16, Sprint 26 - Ends Sept 1, Sprint 26 - Ends Oct 3
    • Critical Points:
      1

      Description

      Note: this is about indexing the constituent parts of the URL separately, so they can be be queried separately, or together.

      ScriptRunner can query issues with remote links, but does not support wildcards in URLs for filtering for domain prefixes (or alternatively: filter for prefixes of the link title).

      • An issue can have one or more links to external websites. These links are added to the issue by clicking More -> Link on the issue overview page, choosing "Web Link" and adding link URL + link title.
      • We should extend the linkedIssuesOfRemote() to allow all issues which contain a link to a certain website.
      • According to https://scriptrunner.adaptavist.com/4.3.1/jira/jql-functions.html#_remote_issue_links, ScriptRunner can query issues with remote links, but does not support wildcards in URLs for filtering for domain prefixes (or alternatively: filter for prefixes of the link title)

      Example:
      Issue FOO-1 links to
      https://www.github.com/blubb/issue/5 with link title "Github Issue"
      Issue FOO-2 links to https://www.foobar.com/index.php with link title "Special link"
      Issue FOO-3 kinks to https://www.github.com/blubb/issue/7 with link title "Github Issue"

      The results should include issues FOO-1 und FOO-3 because their link URL starts with "https://github.com/" or because their link title starts with "Github".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tbatagiannis Thanos Batagiannis
              Reporter:
              jechlin Jamie Echlin
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 3 days
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified