{
"name": "Copy excerpted value from new comments",
"description": "Copy an excerpted value from the last comment using two delimiters when a new comment is posted and update a field with it.",
"creator": "admin",
"status": false,
"triggerData": "6",
"triggerType": "ISSUE_EVENT",
"configuration": {
"refs": [
"issue",
"system",
"trigger.issue",
"trigger.parent"
],
"triggerType": "6"
},
"children": [
{
"sequence": 0,
"type": "BOOLEAN_CONDITION",
"ruleEntityType": "CONDITION",
"configuration": {
"refs": [
"issue",
"project",
"system",
"trigger",
"trigger.issue",
"trigger.parent"
],
"expression": "%{trigger.issue.project.key} = \"PKEY\"",
"expressionParsingMode": "logical",
"actingUser": "field_00020"
},
"children": [
{
"sequence": 0,
"type": "UPDATE_FIELD",
"ruleEntityType": "ACTION",
"configuration": {
"refs": [
"issue",
"project",
"system",
"trigger",
"trigger.issue",
"trigger.parent"
],
"fieldId": "00003",
"mode": "parser",
"value": "first(findPattern(%{trigger.issue.lastComment}, \"(?<=Assign to the user with ).*(?= username)\"))",
"valueParsingMode": "textAdvanced",
"actingUser": "field_00020"
},
"children": null,
"hasChildren": false
}
],
"hasChildren": true
}
],
"hasChildren": true
} |