> For the complete documentation index, see [llms.txt](https://docs.ox.security/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ox.security/api-documentation/api-reference/api--issue/types/inputs/add-comment-input.md).

# addCommentInput

Input for adding a new comment to an issue.

### Examples

```graphql
input AddCommentInput {
  issueId: String!
  text: String!
  authorName: String
  authorEmail: String
}
```

### Fields

| Field                | Description                                                                 | Supported fields |
| -------------------- | --------------------------------------------------------------------------- | ---------------- |
| issueId `String!`    | Unique identifier of the issue                                              |                  |
| text `String!`       | Text content of the comment                                                 |                  |
| authorName `String`  | Display name of the comment author (fallback when JWT claim is unavailable) |                  |
| authorEmail `String` | Email of the comment author (fallback when JWT claim is unavailable)        |                  |

### References

#### Mutations using this object:

* [<\~> addIssueComment.input](/api-documentation/api-reference/api--issue/mutations/add-issue-comment.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ox.security/api-documentation/api-reference/api--issue/types/inputs/add-comment-input.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
