Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-5847

Query DSL provider plugin is not always being updated when Service Desk is updated

      Summary

      query dsl provider plugin is not always being updated when Service Desk is updated

      Environment

      Still trying to determine what environmental aspects might factor in here

      Steps to Reproduce

      1. Have an existing work Jira Service Desk (say a 3.7 or 3.8 version)
      2. Upgrade Jira/Service Desk to a more recent version, such as 7.9.2/3.12.2 or 7.10.0/3.13.0

      Expected Results

      Service Desk Queues should be functional after the upgrade

      Actual Results

      Queues are not working.
      Logs show error messages like this:

      2018-06-06 10:10:20,107 http-nio-1081-exec-10 ERROR <username> 610x154x1 192r6a6 (null),<user-ip>,127.0.0.1 /rest/servicedesk/1/servicedesk/<projectname>/queues [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: com.querydsl.sql.dml.SQLInsertClause.getBatchCount()I
      java.lang.NoSuchMethodError: com.querydsl.sql.dml.SQLInsertClause.getBatchCount()I
       at com.atlassian.servicedesk.internal.feature.queue.QueueStore.addColumns(QueueStore.java:218)
       at com.atlassian.servicedesk.internal.feature.queue.QueueStore.addQueue(QueueStore.java:111)
       at com.atlassian.servicedesk.internal.feature.queue.QueueManagerImpl.lambda$null$4(QueueManagerImpl.java:80)
       at io.atlassian.fugue.Either$RightProjection.map(Either.java:872)
       at io.atlassian.fugue.Either.map(Either.java:217)
      ...
      

      Other variants include:

      "com.querydsl.sql.dml.SQLUpdateClause.getBatchCount () I"

      Cause

      The Query dsl provider plugin is not always installed in the correct needed version after the upgrade.
      ie. SD 3.13 needs the plugin version 4.1.4, but sometimes only 4.0.7 is available.

      Workaround

      We can manually update this query dsl plugin to a newer version to fix this:

      1. Download the querydsl 4.1.4 plugin jar file in this link: querydsl-4.1.4-provider-plugin-1.0.jar
      2. Stop JIRA
      3. Remove the querydsl jar file that is located in the directory $JIRA_HOME/plugins/installed-plugins/ (the file name should be similar to querydsl-4.0.7-provider-plugin-1.1)
      4. Copy the downloaded file into this same /installed-plugins/ folder
      5. Start JIRA

      Notes

      This problem does not happen for all upgrades. Only some customers have found this plugin is not updating in their system.

          Form Name

            [JSDSERVER-5847] Query DSL provider plugin is not always being updated when Service Desk is updated

            Daniel C Berlin (Inactive) added a comment - https://getsupport.atlassian.com/browse/PSSRV-9170
            Kunal Kanojia made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 505763 ]
            set-jac-bot made changes -
            Summary Original: query dsl provider plugin is not always being updated when Service Desk is updated New: Query DSL provider plugin is not always being updated when Service Desk is updated
            Owen made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2689449 ] New: JAC Bug Workflow v3 [ 3125632 ]
            Status Original: Done [ 10044 ] New: Closed [ 6 ]
            Julien Rey made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 415986 ]
            Owen made changes -
            Symptom Severity Original: Major [ 14431 ] New: Severity 2 - Major [ 15831 ]
            Sergey Zaporozhtsev (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Awaiting Release [ 11372 ] New: Done [ 10044 ]
            SET Analytics Bot made changes -
            UIS Original: 835 New: 836
            SET Analytics Bot made changes -
            Support reference count Original: 32 New: 33
            UIS Original: 821 New: 835
            SET Analytics Bot made changes -
            UIS Original: 818 New: 821

              szaporozhtsev Sergey Zaporozhtsev (Inactive)
              aheinzer Andy Heinzer
              Affected customers:
              35 This affects my team
              Watchers:
              42 Start watching this issue

                Created:
                Updated:
                Resolved: