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 votes

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

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

91 views 3 4
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