Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-12711

Feature Request: open all "related issues" in JIRA

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      When looking at a PullRequest or a branch comparison, the Bitbucket UI lists all related issues on the top right in a dropdown menu for selection. This is great, but its quite cumbersome to get them all opened in JIRA to see at all the details.
      It would be great to have a button to "open all related issues" in JIRA at once. This button would open JIRA with a JQ: "id IN (...)" to list all issues in one window.

      As a workaround, we use a bookmark in our browser to do this. This is the little JS script we set in the location of the bookmark (e.g. in Firefox):

      javascript:var%20htmlitems%20=%20document.getElementById(&#x27;inline-dialog-issue-dialog&#x27;).getElementsByTagName(&#x27;a&#x27;);var%20items%20=%20[];for(var%20i=0,ii=htmlitems.length;%20i<ii;%20i++)%20{items.push(htmlitems[i].innerHTML);}var%20url%20=%20&#x27;https://xxxx.atlassian.net/browse/&#x27;%20+%20(items[0]%20+%20&#x27;?jql=id%20IN%20(&#x27;%20+%20items.join(&#x27;%2C&#x27;))%20+%20&#x27;)&#x27;;location.href%20=%20url;
      

      ...but to make it work, one has to open the "related issues" dropdown at least once.

      Attachments

        Activity

          People

            Unassigned Unassigned
            497062fea575 Dominik Bartholdi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: