Error when creating tasks on declined pull requests

XMLWordPrintable

      1. Open a declined pull request
      2. Attempt to make a task on a comment
      3. Attached error shows
      4. Close the error without refreshing the page
      5. Task was still created successfully

      I recorded the relevant HTTP requests and responses for the task add action:

      XHR finished loading: POST "https://stash.michiganlabs.com/rest/api/latest/tasks".
      GET https://stash.michiganlabs.com/rest/api/latest/projects/MUEU/repos/web/pull-requests/10/merge 409 (54035)
      XHR finished loading: GET "https://stash.michiganlabs.com/rest/api/latest/projects/MUEU/repos/web/pull-requests/10/merge".
      XHR finished loading: POST "https://stash.michiganlabs.com/rest/analytics/1.0/publish/bulk".
      

      The response for the request that had the 409 error was the message shown in the screenshot:

      {"errors":[{"context":null,"message":"This pull request has been declined and must be reopened before it can be merged.","exceptionName":"com.atlassian.stash.pull.IllegalPullRequestStateException"}]}
      

      I have now tried this in Chrome/Safari/Firefox (mac), all with same result.

      Upgrading from 3.6.0 to 3.7.1 had no effect.

            Assignee:
            David Piper
            Reporter:
            Josh Friend
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: