Hi guys,
i had many variation tests ... nothing works!
I have a JiraRestClient more exact
com.atlassian.jira.rest.client.api.SearchRestClient
..
.
.
..
SearchResult results = mySearchRestClient.searchJql("project=%27DK%27").claim();
Every variation ... i get a
WARNUNG: jira rest client add comment error. cause: [ErrorCollection{status=400, errors={}, errorMessages=[The value 'DK' does not exist for the field 'project'..]}]
BUT ... when i try
https://xxxx.xxxx.de/tracker/rest/api/latest/search/?jql=project=%27DK%27
It works ... the same credentials as in the java program ...
What is wrong in my code???
Any help would be appreciated - thanks!
Hi
Try it without the %27 on each side (i.e. without the " on each side). I'm not sure if this will help, but the JQL seems happy to accept the project name with or without quotes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.