jira-plugin
jira-plugin copied to clipboard
Allow posting only internally visible comments
Dependencies
Feature Request
Jira REST API allows posting of Interal notes (as opposed to public comments) by setting property sd.public.comment
, e.g.:
{
"properties": [
{
"key": "sd.public.comment",
"value": {
"internal": true
}
}
],
"body": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"text": "This comment is only visible internally",
"type": "text"
}
]
}
]
}
}
It would be useful to augment this to jiraComment
. Ideally in my pipeline I could do:
jiraComment issueKey: "PROJECT-1", body: "This comment is only visible for internal users", internal: true