Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow posting only internally visible comments #375

Open
ottonautti opened this issue Sep 22, 2021 · 0 comments
Open

Allow posting only internally visible comments #375

ottonautti opened this issue Sep 22, 2021 · 0 comments
Labels
feature Release Drafter label

Comments

@ottonautti
Copy link

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 ottonautti added the feature Release Drafter label label Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Release Drafter label
Projects
None yet
Development

No branches or pull requests

1 participant