jira 7 api access issue

Hi,

I have a jira 7 server setup and I would like to access an issue by jira client, I have used AsynchronousJiraRestClientFactory to access the service but sample code fail on "claiming" the issue object from promise object.

My i using JIRA rest client build version 2.0.0.m29

 

Thanks

1 answer

0 vote

Is the rest client you're using valid for JIRA 7?  What does your code say?

its not clear to me, so I have provided versions I had used, in my question.

The response from server is different for me for urls.

RestClientException{statusCode=Optional.of(404), errorCollections=[ErrorCollection{status=404, errors={}, errorMessages=[]}]}
    at com.atlassian.jira.rest.client.internal.async.DelegatingPromise.claim(DelegatingPromise.java:47)
    at com.ptrsoft.web.services.client.JiraClient.main(JiraClient.java:37)

 

I am trying to get issue object for this JIRA issue.

https://taquii.atlassian.net/rest/api/2/issue/TEST-1

you can access it, for testing!

Thanks

its not clear to me, so I have provided versions I had used, in my question. The response from server is different for me for urls. RestClientException{statusCode=Optional.of(404), errorCollections=[ErrorCollection{status=404, errors={}, errorMessages=[]}]} at com.atlassian.jira.rest.client.internal.async.DelegatingPromise.claim(DelegatingPromise.java:47) at com.ptrsoft.web.services.client.JiraClient.main(JiraClient.java:37) I am trying to get issue object for this JIRA issue. https://taquii.atlassian.net/rest/api/2/issue/TEST-1 you can access it, for testing! Thanks

It's the same question - you've said you are using a JIRA Client - which one, and are you sure it is valid for JIRA 7? Because it looks like it is not.

I have the same error. I use JIRA v7.1.10  and JRJC : 2.0.0-m29.

thanks for your help

Waht is your code doing?

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published 6 hours ago in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

30 views 0 3
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
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