# Feature COMMS-335 - Add work package internal comments (write) API

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-335

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Target versions | 16.1.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Kabiru Mwenja |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** an API client  
**I want to** be able to mark comments as internal  
**so that** I can support internal comments in my application

**Acceptance criteria**

*   User with &quot;Write internal comments&quot; is able to create internal comments whenever they set &quot;internal&quot; to &quot;true&quot; in the API request
    
*   It is NOT possible to change the &quot;internal&quot; state of a comment once it has been created.
    

**Technical notes**

POST /api/v3/work\_packages/{id}/activities

```json
{
  "comment": {
    "raw": "This is an Internal comment!"
  },
  "internal": true
}
```

**Permissions and visibility considerations**

*   Visible to users with &quot;Write internal comments&quot; permissions
    
*   When the user does not have the &quot;Write internal comments&quot; and they attempt to mark a comment as internal, they should receive back an error AND the comment should never be created.
