jira rest client

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

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...

() 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

58 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you