gerrit-intellij-plugin icon indicating copy to clipboard operation
gerrit-intellij-plugin copied to clipboard

Using "Draft" status returns API error

Open KloolK opened this issue 2 years ago • 1 comments

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 avatar Jul 28 '22 07:07 KloolK

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.

KloolK avatar Sep 08 '22 10:09 KloolK