jira api java,如何使用其余api(java)在jira中创建问题?

How to create issue in jira using the rest api. I have tried the examples using curl. But I need to create defect in eclipse using java and rest api.

解决方案

You want to integrate JIRA into Eclipse?

You want a custom application to create tickets automagically?

Probably you'll need a REST client using the jersey-client artifact, I think this is the easiest way.

Firstly, check out the REST API documentation: https://docs.atlassian.com/jira/REST/latest/

With the POST method you can push a JSON object depiciting a wannabe issue to the JIRA server. You just have to exactly know what fields you can and should fill in. If you send fields that are not on the create issue screen, or is required but you haven't specified them, you'll get an error.

You can find an example here: http://pastebin.com/JeucUZNG

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值