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

Commit details missing on development panel in certain issues when sync is performed with Gitlab Repository

      Issue Summary

      The issue is observed with Jira-Gitlab DVCS integration offered with Jira 8.14.0.
      For some issues, Commit details are missing and does not appears on the Development even though Pull requests details are fetched from Gitlab to Jira database.

      Steps to Reproduce

      1. Create an issue in a project (i.e. TST)
      2. Move that issue to another project (i.e. QA)
      3. Create a branch with a title such as 'TST-1 QA-6' and another with 'TST-1'
      4. Perform a sync
      5. There will be a Nullpointer exception error in the logs

      Expected Results

      The sync should not fail with exception and the Commit information should get displayed on the Development panel.

      Actual Results

      The below exception is thrown in the atlassian-jira.log file and commit details are not shown on development panel

      2021-03-02 10:11:29,258+0300 devstatus.dvcs.gitlabselfmanaged:thread-17 ERROR ServiceRunner     [c.a.j.p.devstatus.provider.LoggingDecorator] Call 'summary for [TST-6436, TST-4330, TST-7086]' has thrown an exception2021-03-02 10:11:29,258+0300 devstatus.dvcs.gitlabselfmanaged:thread-17 ERROR ServiceRunner     [c.a.j.p.devstatus.provider.LoggingDecorator] Call 'summary for [TST-6436, TST-4330, TST-7086]' has thrown an exceptionjava.lang.NullPointerException at java.util.AbstractCollection.addAll(AbstractCollection.java:343) at com.atlassian.jira.plugins.dvcs.dao.impl.querydsl.BranchDaoQueryDsl.lambda$addIssuesToBranches$11(BranchDaoQueryDsl.java:233)
      

      Workaround

      • Remove any branches with multiple issue keys in the name

          Form Name

            [JSWSERVER-20976] Commit details missing on development panel in certain issues when sync is performed with Gitlab Repository

            Rinish made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 570220 ]
            Sylwia Mikołajczuk made changes -
            Fix Version/s New: 8.18.1 [ 96092 ]
            Fix Version/s Original: 8.18.0 [ 95094 ]
            Sylwia Mikołajczuk made changes -
            Labels Original: flash lts820 warranty New: 8.18.0-pd flash lts820 warranty
            Ignat (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Andriy Yakovlev [Atlassian] made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            SET Analytics Bot made changes -
            UIS New: 40
            Bugfix Automation Bot made changes -
            Support reference count Original: 1 New: 2
            Andriy Yakovlev [Atlassian] made changes -
            Labels Original: flash warranty New: flash lts820 warranty
            Rinish made changes -
            Security Original: Atlassian Staff [ 10750 ]
            Maciej Sujkowski (Inactive) made changes -
            Fix Version/s New: 8.5.17 [ 95699 ]
            Fix Version/s New: 8.13.9 [ 95700 ]
            Fix Version/s Original: 8.13.8 [ 95097 ]
            Fix Version/s Original: 8.5.16 [ 95098 ]

              15c9fc99333a Maciej Sujkowski (Inactive)
              556084c56f12 Rinish
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: