I have a Winforms .NET application. I want to raise Jira tickets on encountering errors in the application. I believe I will have to add a web reference to the project. To add the web reference I need a URL to the API page. Where can find the URL?
Hello @S Sriram
Welcome to the community.
This page provides information about the Jira REST API
https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/
Hello Trudy Claspill. Thanks for responding.
I had gone thru this link before posting the question. The link does not seem to have the info regarding where I can find the REST API. Like I mentioned in the question, I believe that I have to add a Web Reference first. Is that correct? If yes, then how do I accomplish the same?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe I'm not understanding your question, but it says right there on the page what the URL is for accessing APIs - https://<site-url>/rest/api/3/<resourcename>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Trudy
Appreciate your efforts to help
I will try and articulate better. I have a winforms program written in .NET. I was considering the possibility of raising a ticket on JIRA for errors encountered in the program.
In .NET in order to use any REST API I believe we have to create a reference to the API (which typically would be a DLL). Having created that reference then we can call the methods exposed by the API.
Following the example given in the link
'https://your-domain.atlassian.net/rest/api/3/issue/DEMO-1' (substituting 'your-domain' with the actual domain, I get a permission error. I have already obtained the userid and token.
I theorized this could be becoz my domain is on Atlassian cloud, so the .net extension won't work. So I tried this with atlassian.com. And I get a this site cannot be reached error.
So, in sum, I am not able to reach the link from where I can download the API files. Also I am unclear on which URL to pass the user name & token and how exactly this is to be done.
Hope I have been clear enough.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.