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

When attempting to create a Jira ticket from a pull request comment, users could not be searched in "Approvers" field.

XMLWordPrintable

      Issue Summary

      When attempting to create a Jira ticket from a pull request comment, the "Approvers" field does not work. In the Jira ticket creation dialog, it always shows "searching," and Bitbucket logs display an HTTP error code 400, while the browser console shows an HTTP error code 500.

      Steps to Reproduce

      • Integrate Bitbucket DC 9.5.1(or any version) with Jira cloud(direct link or via tunnel).
      • Create PR in Bitbucket DC, and make a PR comment.
      • Create a Jira issue from the PR comment.
      • Search the username in the Approvers field.

      Expected Results

      A valid user should be returned while searching in Approvers fields.

      Actual Results

      • The atlassian-bitbucket.log will write the following warning
        2025-03-03 16:13:05,273 WARN  [http-nio-7991-exec-2] aman @11X8C5Jx973x519x1 18rphe4 10.211.55.2 "POST /rest/jira-integration/latest/fields/autocomplete HTTP/1.1" c.a.i.i.jira.DefaultJiraService Problem communicating with Jira instance 'Jira' at 'https://ashrivastava3.atlassian.net'. Error: Unexpected response received. Status code: 400
        2025-03-03 16:13:05,314 WARN  [http-nio-7991-exec-8] aman @11X8C5Jx973x518x0 18rphe4 10.211.55.2 "POST /rest/jira-integration/latest/fields/autocomplete HTTP/1.1" c.a.i.i.jira.DefaultJiraService Problem communicating with Jira instance 'Jira' at 'https://ashrivastava3.atlassian.net'. Error: Unexpected response received. Status code: 400
        2025-03-03 16:13:05,374 WARN  [http-nio-7991-exec-5] aman @11X8C5Jx973x520x2 18rphe4 10.211.55.2 "POST /rest/jira-integration/latest/fields/autocomplete HTTP/1.1" c.a.i.i.jira.DefaultJiraService Problem communicating with Jira instance 'Jira' at 'https://ashrivastava3.atlassian.net'. Error: Unexpected response received. Status code: 400
        2025-03-03 16:13:05,432 WARN  [http-nio-7991-exec-3] aman @11X8C5Jx973x521x3 18rphe4 10.211.55.2 "POST /rest/jira-integration/latest/fields/autocomplete HTTP/1.1" c.a.i.i.jira.DefaultJiraService Problem communicating with Jira instance 'Jira' at 'https://ashrivastava3.atlassian.net'. Error: Unexpected response received. Status code: 400
        
      • The Har file will display error code 500.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              83b3279fad28 Aman Shrivastava
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: