且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何通过REST API向JIRA创建问题?

更新时间:2022-01-24 22:24:10

我已经解决了我的问题。我对代码进行了少量更改,并且代码成功运行。
我更改了网址。

I have solved the my problem. I made small changes in my code and my code is working successfully. i changed the url.

Old Url: https://MyCompany.atlassian.net/rest/api/2/issue
new url: https://MyCompany.atlassian.net/rest/api/latest/issue

在杰森一世进行了较小的更改,问题类型名称中的错误是Bug,当前在我的帐户中不可用,当前在我的帐户中任务是可用的问题类型,所以我将问题类型名称从错误更改为任务。现在它的工作成功了!感谢上帝,这浪费了我很多时间。伤心:(

in Json i made small change, in the "issuetype" name was Bug, which is currently not available in my account, currently in my account "TASK" issuetype is available so i changed issutype name from "Bug" to "Task". Now its working successfully!, thank god it killed my lot of time. Sad :(

也感谢Abdurrahman Koken。:)欢呼!

Thanks Abdurrahman Koken too. :) cheers!