jira-plugin icon indicating copy to clipboard operation
jira-plugin copied to clipboard

Allow posting only internally visible comments

Open ottonautti opened this issue 3 years ago • 0 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

ottonautti avatar Sep 22 '21 13:09 ottonautti