jira rest client


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 ?

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 ?



Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,975 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot