Resolving dependency conflicts when updating pocketknife-querydsl in Jira 10.0

Hello, Developer Community!

We want to bring to your attention an important issue that may affect your Jira applications. When upgrading the pocketknife-querydsl dependency to version 8.0.0 or higher, an exception may occur due to platform changes in Jira 10. This issue is linked to the incorrect construction of the Querydsl SQLQueryFactory.

What you need to know:

  • The issue arises from the dependency management tool (usually Maven) pulling in the wrong version of the querydsl-sql library.
  • This affects Jira 10.0 and later (both Software and Service Management).

Recommended actions:

  1. Use exclusions: Exclude querydsl-sql from jira-core to ensure the correct version is used. This is the recommended solution.
  2. Reorder dependencies: Alternatively, reorder your dependencies by placing the pocketknife-querydsl declaration above the jira-core dependency.

We’re actively working on adding support for the latest querydsl-sql library in Jira. Meanwhile, for detailed instructions on resolving this issue, refer to our guide on resolving dependency conflicts.

If you prefer, you can continue using version 7 of pocketknife-querydsl until a permanent fix is available. If you have further questions, let us know.

Thank you!
The Jira Data Center team