Skip to content

Allow posting only internally visible comments  #375

@ottonautti

Description

@ottonautti

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions