Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3811

Redirection for moved tickets does not work for links in Stash

    XMLWordPrintable

Details

    Description

      1. create a ticket in a project FOO, say FOO-1
      2. commit and push a change referring to this ticket in its commit message
      3. move the ticket to a different project BAR (assume that we get BAR-2)
      4. navigate to the list of Commits for the repository and click on the hyperlink for FOO-1 in the Issues column for the changeset you just pushed

      Instead of redirecting me to BAR-2 Stash presents me with a popup (titled "JIRA Issues") which tells me that it can't display the issue.

      If I chose to open the hyperlink in a new tab or window using the context menu, the redirection works fine (This is what I also see when I enter the absolute URL to FOO-1: I get redirected to BAR-2).

      NOTE: A Fiddler trace tells me that clicking the hyperlink in Stash uses the REST-ish API to interface with JIRA while opening the hyperlink in a new tab results in a request for the absolute URL to FOO-1 which then redirects me to BAR-2

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gthomas.cs02 george thomas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: