Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Jira connection the step signs in with. |
| Issue keyRequired | text |
| Order | "created" or "-created" |
| Also give each comment as plain text | Jira stores a comment as a JSON document. This adds the words beside it as bodyText. |
| Also give Jira's own HTML rendering | true/false |
| Comments per call | 1 to 100. |
| Fetch every page | Walks Jira's offset pages, and refuses past 5,000 comments. |
| Cursor | Paste a previous run's Next cursor to read the page after it. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `jira`) |
issue | text |
order | "created" or "-created", by default "created" |
plainText | true/false, by default true |
renderedBody | true/false, by default false |
limit | number, by default 100 |
returnAll | true/false, by default false |
cursor | text |
Output
| Field | Type |
|---|---|
comments | array |
commentCountComments in this answer | number |
totalComments Jira counted | number |
hasMoreMore comments are waiting behind this page | boolean |
nextCursorCursor for the next page | string |
Sample output, and the expression for each field
- commentCount0
- comments[]
- hasMorefalse
- total0
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": {
"connection": "<connection id>",
"cursor": "",
"issue": "<issue key>",
"limit": 100,
"order": "created",
"plainText": true,
"renderedBody": false,
"returnAll": false
},
"label": "List comments",
"type": "jira.listComments",
"version": 2
}Older versions
A flow that already has this version keeps running it. A new step always gets the newest.
Version 1
| Setting | What it is |
|---|---|
| ConnectionRequired | The Jira connection the step signs in with. |
| Issue keyRequired | text |
| Order | "created" or "-created" |
| Also give each comment as plain text | Jira stores a comment as a JSON document. This adds the words beside it as bodyText. |
| Also give Jira's own HTML rendering | true/false |
| Comments per call | 1 to 100. |
| Fetch every page | Walks Jira's offset pages, and refuses past 5,000 comments. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `jira`) |
issue | text |
order | "created" or "-created", by default "created" |
plainText | true/false, by default true |
renderedBody | true/false, by default false |
limit | number, by default 100 |
returnAll | true/false, by default false |