.NET wrapper for JIRA api?

后端 未结 5 528
不思量自难忘°
不思量自难忘° 2021-02-01 08:29

I\'m working on a JIRA implementation and need to make use of the API.

Does anyone know of an existing .NET wrapper for the JIRA SOAP API?

5条回答
  •  -上瘾入骨i
    2021-02-01 09:19

    In Visual Studio .Net 2010 choose menu Project and Add Service Reference. In the dialogue choose advanced option. Then in the new dialogue choose Add Web Reference. http://localhost:8080/rpc/soap/jirasoapservice-v2?wsdl where localhost:8080 is your installation of jira. I did not get it to work in VS2010 with just Add Service Ref. It then only created methods without any parameters. For example the login method claims to have no arguments althought the [documentation](http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/com/atlassian/jira/rpc/soap/JiraSoapService.html#login(java.lang.String, java.lang.String)) says there should be a user and a password parameter. See this jira forum for more info in the matter. I did not need to use the old program Wsdl.exe. But I do not get any intellisense of the parameters more then what type it is like:

    this.JiraSrvTalker.createIssue(string In0 and,RemoteIssue In1)
    

    To know that the first parameter should be a token from

    this.LoginToken = this.JiraSrvTalker.login(JiraAdmin, JiraAdminPwd);
    

    you have to check documentation.

提交回复
热议问题