且构网

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

如何通过REST API向Jira问题添加标志

更新时间:2022-01-24 22:23:52

我已经弄清楚如何做到这一点,我不确定API的版本.我向POST发出了以下请求:

I've figured out how to do this, I'm not sure on the version of the API. I made a POST request to:

您的域 /rest/greenhopper/1.0/xboard/issue/flag/flag.json

并在体内(用您的签发密钥替换JIRA-ISSUE):

And in the body (replace JIRA-ISSUE with your issue key):

{"issueKeys":["JIRA-ISSUE"],"flag":true}

我希望这会有所帮助.