jira rest client

idan shay February 3, 2014

Hi,

While trying to run java rest jira client I got the error:

com.atlassian.httpclient.api.ResponseTransformationException: java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;

How can I solve it ?
Is there a list of non-supported tables in rest and when they will be added ?
Thanks

1 answer

0 votes
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2014

This sounds like a problem with maven dependencies. Can you post your pom.xml file contents ?

I'm not sure what tables are you refering to...

idan shay February 4, 2014

() Attach is the pom file

It looks like the problem is in the ErrorCollection class with this line:

this.errorMessages = ImmutableList.copyOf(errorMessages);

The error was :

"Field 'assignee' does not exist or you do not have permission to view it."

Still I think that there is problem in run-time and maybe in other places also.

I refer to table like nodeassociation.can I acccess it with the rest API ?

Thanks

()

Suggest an answer

Log in or Sign up to answer