Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Jira connection the step signs in with. |
| Issue keyRequired | text |
| Comment format | "text" or "adf" |
| Comment | A blank line starts a new paragraph and a single newline becomes a line break; nothing else is interpreted. |
| Comment (ADF) | A full Atlassian Document Format document: { "type": "doc", "version": 1, "content": [ … ] }. |
| Visible to | A role or a group restricts it — the name must match a Jira project role or group exactly. |
| Role or group name | text |
| The customer may see it | On a Jira Service Management project, off makes this an internal note the customer does not see. It is ignored on a plain Jira project. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `jira`) |
issue | text |
bodyFormat | "text" or "adf", by default "text" |
body | textused when `bodyFormat` is "text" |
bodyAdf | object (any keys), by default {}used when `bodyFormat` is "adf" |
visibilityType | "" or "role" or "group" |
visibilityValue | textused when `visibilityType` is not "" |
jsdPublic | true/false, by default true |
Output
| Field | Type |
|---|---|
commentId | string |
comment | object |
issueRefIssue key | string |
Sample output, and the expression for each field
- comment{}
- commentId"10100"
- issueRef"ENG-142"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"body": "",
"bodyAdf": {},
"bodyFormat": "text",
"connection": "<connection id>",
"issue": "<issue key>",
"jsdPublic": true,
"visibilityType": "",
"visibilityValue": ""
},
"label": "Add comment",
"type": "jira.addComment",
"version": 1
}