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 widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

221 views 1 3
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