RFR: SKARA-1096: New command and label for JEPs, similar to CSR [v3]

Erik Joelsson erikj at openjdk.java.net
Mon Apr 11 17:41:54 UTC 2022

On Mon, 11 Apr 2022 17:37:36 GMT, Guoxiong Li <gli at openjdk.org> wrote:

>> Ok, I see the field name. I don't know how you are supposed to query for it, but it doesn't seem to have to do with permissions. You need to figure out the right way to perform the query.
> The previous link `https://bugs.openjdk.java.net/rest/api/2/search?jql=project = JDK AND customfield_10701 = 11` has two errors.
> 1. We should use the display name to query instead of the internal name. So the `customfield_10701` need to be changed to `JEP Number`.
> 2. We can't query text field by using the operator `=`. We need to use the operator `~`.
> So the link should be `https://bugs.openjdk.java.net/rest/api/2/search?jql=project = JDK AND "JEP Number" ~ "11"`
> Related documentation:
> [1] https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-search/#api-rest-api-2-search-post
> [2] https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-operators/

I tried to query in the webUI and then convert to advanced query. That gives me:

Trying that with the rest api seems to work too:


PR: https://git.openjdk.java.net/skara/pull/1297

More information about the skara-dev mailing list