Details
-
Suggestion
-
Resolution: Duplicate
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('inline-dialog-issue-dialog').getElementsByTagName('a');var%20items%20=%20[];for(var%20i=0,ii=htmlitems.length;%20i<ii;%20i++)%20{items.push(htmlitems[i].innerHTML);}var%20url%20=%20'https://xxxx.atlassian.net/browse/'%20+%20(items[0]%20+%20'?jql=id%20IN%20('%20+%20items.join('%2C'))%20+%20')';location.href%20=%20url;
...but to make it work, one has to open the "related issues" dropdown at least once.