Actions74
- Document Actions
- Member Actions
- Milestone Actions
- Portfolio Actions
- Project Actions
- Tag Actions
- Task Actions
- Task Group (Status) Actions
- Time Tracking Actions
- User Actions
Task → Add Comment
AI-generatedSummary
Add a comment to a Nifty PM task, optionally with an attached image.
Inputs
- taskId (required) — The task to add a comment to. Select from list via project/task search or provide an ID string (e.g. abc123). Routes
task_idin the request body. - comment (required) — The comment text. Routes
textin the request body. - messageType — The type of message. Hidden parameter, defaults to
text. Routestypein the request body. - attachImage — Whether to attach an image to the comment. Defaults to
false. Whentrue, exposesimageSource,binaryPropertyName, andMinIO/S3settings. - imageSource — Source of the image. Options:
binaryData(uses binary property from previous node) orurl(direct image URL). Defaults tobinaryData. - binaryPropertyName (required) — Name of the binary property containing the image. Defaults to
data. Only shown whenattachImageistrueandimageSourceisbinaryData. - imageUrl (required) — URL of the image to attach. Defaults to
''. Only shown whenattachImageistrueandimageSourceisurl. Routesexternal_filesas[[ $value ]]. - minioSettings — Configuration for uploading images to MinIO/S3. Only shown when
attachImageistrueandimageSourceisbinaryData. Contains endpoint, bucket, access key, secret key, public URL base, and region. - requestOptions — Node-level request settings including batching (items per batch, batch interval), SSL certificate validation, HTTP proxy, and timeout in milliseconds.
Output shape
The Nifty PM API response, typically containing the created comment object.
Side effects include a POST request to the Nifty PM task comment endpoint. If an image is configured for attachment, it is uploaded to the specified MinIO/S3 bucket prior to comment creation.
Examples
Example 1: Add a simple text comment to a task selected from a previous node's list.
Set taskId via resource locator (list mode), comment to desired text. Leave attachImage unchecked.
Example 2: Add a comment with an image from binary data.
Set taskId, comment, enable attachImage, set imageSource to binaryData, configure binaryPropertyName and minioSettings as needed.