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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

125 views 0 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