---
title: "updateComment"
canonical: "https://support.appfire.com/space/CSOAP/68455331/updateComment"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458401)

> Macro (details)
> 
> | **Description** | Update contents of an existing comment identified by id. Use --comment @commentBody@ to replace the existing content with content determined by find and replace logic. |
> | --- | --- |
> | **Required Parameters** | [id](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454565), ([comment](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458770) or [content](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459643) or [file](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455055)) |
> | **Optional Parameters** | [findReplace](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454887), [findReplaceRegex](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457861), [input](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459521), [encoding](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458746) |
> | **Type** | [Update](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455033/Action+Types#ActionTypes-Update) |
> | **Category** | [Comments](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455044/Action+Categories#ActionCategories-Comments) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | cloud,server,datacenter |
> | **Since Version** |  |
> | **Examples** | [updateComment](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458176/Examples#Examples-updateComment) |

## Related How To's

> Macro (cql-query)