uwolfer / gerrit-intellij-plugin

Gerrit Code Review Tool Integration for the IntelliJ Platform
Apache License 2.0
495 stars 102 forks source link

Using "Draft" status returns API error #453

Open KloolK opened 2 years ago

KloolK commented 2 years ago

Whenever the Status: drop-down is set to Drafts or All, I receive the following error:

Failed to get Gerrit changes.
Request not successful. Message: Bad Request. Status-Code: 400. Content: Unrecognized value: draft.

Selecting a Status: that does not include Drafts works fine.

Any idea what's wrong here?

I'm using:

CLion 2022.1.3 Build #CL-221.5921.27, built on June 21, 2022 Runtime version: 11.0.15+10-b2043.56 amd64

Non-Bundled Plugins: com.urswolfer.intellij.plugin.gerrit (1.2.6-203)

Gerrit v3.6.1

KloolK commented 2 years ago

The is:draft value is no longer supported starting with gerrit v2.16: https://github.com/GerritCodeReview/gerrit/commit/6ffb7d93584b4074e0298fd5fdfcd35ab7556a02

is:wip may be a suitable replacement.