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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

236 views 1 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