I am trying to access JIRA issue details using jsonlite library as follows in vain:
jiradata <- fromJSON("https://xxxxxx.atlassian.net/rest/api/latest/search?jql=project=DATAX AND key=DATAX-1234")
I get the following error:
Error in open.connection(con, "rb") : HTTP error 400.
What am I missing here?
Have you tried encoding the url? Something like:
- https://INSTANCE.atlassian.net/rest/api/latest/search/?jql=key%20%3D%20DATAX-1234%20AND%20project%20%3D%20DATAX
Also, please notice that the project key is already included in the issue key... your query could just be:
- https://INSTANCE.atlassian.net/rest/api/latest/search/?jql=key%20%3D%20DATAX-1234
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.