如何通过REST API向Jira问题添加标志 [英] How to add a flag to jira issue via rest api
本文介绍了如何通过REST API向Jira问题添加标志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望能够通过Jira API向事件添加标志.我找不到有关此问题的任何文档.有人知道这是怎么回事吗?
I would like to be able to add a flag to an issue via the Jira API. I was unable to find any documentation regarding this issue. Does anyone know how this works?
推荐答案
我已经弄清楚如何做到这一点,我不确定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}
我希望这会有所帮助.
这篇关于如何通过REST API向Jira问题添加标志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文