FlowmageDocs

Log work

BetaChanges data

Logs time spent on a Jira issue.

Settings

SettingWhat it is
ConnectionRequiredThe Jira connection the step signs in with.
Issue keyRequiredtext
Time spentRequiredJira's own notation: 2d, 3h, 30m, or a combination.
Started atWhen the work started. Jira wants this exact shape, milliseconds and a numeric offset included; leave it empty and the node sends now.
Commenttext
What happens to the remaining estimate"auto" or "leave" or "new" or "manual"
New remaining estimatetext
Reduce the estimate bytext
Notify watcherstrue/false
Visible to"" or "role" or "group"
Role or group nametext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `jira`)
issuetext
timeSpenttext
startedtext
commenttext
adjustEstimate"auto" or "leave" or "new" or "manual", by default "auto"
newEstimatetextused when `adjustEstimate` is "new"
reduceBytextused when `adjustEstimate` is "manual"
notifyUserstrue/false, by default true
visibilityType"" or "role" or "group"
visibilityValuetextused when `visibilityType` is not ""

Output

FieldType
worklogIdstring
worklogobject
issueRefIssue keystring
Sample output, and the expression for each field
  • issueRef"ENG-142"
  • worklog{}
  • worklogId"30001"

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": {
    "adjustEstimate": "auto",
    "comment": "",
    "connection": "<connection id>",
    "issue": "<issue key>",
    "newEstimate": "",
    "notifyUsers": true,
    "reduceBy": "",
    "started": "",
    "timeSpent": "<time spent>",
    "visibilityType": "",
    "visibilityValue": ""
  },
  "label": "Log work",
  "type": "jira.addWorklog",
  "version": 1
}