Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-26015

Preexisting Pull Requests Not Displayed in Development Panel with Jira - Bitbucket Cloud Integration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 10.5.0
    • 9.4.14
    • DVCS Accounts

      Issue Summary

      Preexisting pull requests are not showing in the development panel when you create a DVCS account afterward or re-create an existing DVCS account and clean the DEV Panel cache.

      Steps to Reproduce

      Environment requirement:

      1. Diagnosed on Jira 9.4.14
      2. Diagnosed with Bitbucket Cloud

      Create git repository

      1. Create a new repository and create the following branch structure:
      2. Crerate the following pull requests (in order):
      • "DOS-1 d1_to_main" from branch DOS-1-branch into main
      • "DoS-1 - D1_to_d2" from branch DOS-1-branch into DOS-2-branch
      • "DoS-1 - D2_to_d1" from branch DOS-2-branch into DOS-1-branch
      • "DOS-2 d2_to_main" from branch DOS-2-branch into main

      Prepare project in Jira

      1. Create a project in Jira with Project Key DOS
      2. Create "First issue" (DOS-1)
      3. Create "Second issue" (DOS-2)

      Link Bitbucket Cloud and Jira and run Full-sync (to pull all git data with pull requests as well)

      Verify the correctness of data in the DB

      Verify with the query:

      SELECT pr."ID" AS "PR_ID" , pr.CREATED_ON AS "PR_CREATED_ON",  pr."NAME" AS "PR_NAME",  issue.ISSUE_KEY 
      FROM "AO_E8B6CC_PULL_REQUEST" pr
      JOIN "AO_E8B6CC_PR_ISSUE_KEY" issue ON pr."ID" = issue."PULL_REQUEST_ID"
      ORDER BY issue.ISSUE_KEY, pr.CREATED_ON 
      

      There should be assigned two different pull requests ID to DOS-1 and DOS-2 ISSUE_KEY

      Expected Results

      When we go to DOS-1 or DOS-2 issues you should see 2 pull requests for each in the development panel.

      Actual Results

      When we go to DOS-1 or DOS-2 issues you cannot see any pull request.

      Workaround

      • Press the Full Sync button until you can see it's syncing the PRs
        • In this case, doing it twice made it work, sometimes it is required more.
        • Wait some minutes until the sync is finished

              a99cf1f76b82 Puneet Saini
              458e633c07a6 Jose Antonio Uribe (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: