Dear Atlassian community,
I hope this message finds you well.
We are using Confluence Cloud and trying to purchase Comala, and we have already customized a workflow where approvers can be assigned explicitly.
I added a trigger that should send an email to the approver whenever an approver is assigned. Previously, the email was being sent, but I couldn't customize the content the way I wanted. Now, however, the email is not being sent at all.
You can see my configuration in the screenshot. The email should be sent every time the same user is assigned as an approver to the same work product.
Thanks for your support.
Hi,
Actually, it’s already there (see below). Or did you mean something different?
when a add new trigger for page update and use smart value as 'creator'. I received email but for assignee not working . It's strange.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Zahide Kaplan ,
Try adding @assignee@ in the confluence smart values sections
https://appfire.atlassian.net/wiki/spaces/CDML/pages/649925212/Value+Reference+Modifiers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Actually, it’s already there (see below). Or did you mean something different?
when a add new trigger for page update and use smart value as 'creator'. I received email but for assignee not working . It's strange.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the field, when I use two “@” symbols instead of a text field, it automatically forces me to select an assignee. In other words, this field is in a “dropdown”.
please check screenshots.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
actually I already did it by selecting the creator, and when I select the creator, the email is sent. But for the assignee, the email doesn’t work.
Maybe i can share the code editor of workflow is below:
Appreciate.
{
"name": "Test Workflow",
"id": "custom",
"description": "creating for testing",
"states": [
{
"name": "Draft",
"transitions": {
"select": [
"In progress"
]
},
"description": "once the document is just created",
"colour": "#4A6785"
},
{
"name": "In progress",
"description": "In progress",
"transitions": {
"select": [
"In Review",
"Draft"
]
},
"colour": "#0052CC"
},
{
"name": "In Review",
"transitions": {},
"approvals": [
{
"name": "reviewers",
"assignable": true
}
],
"colour": "#FFAB00"
},
{
"name": "Approved",
"final": true,
"transitions": {
"select": [
"In progress"
]
},
"colour": "#14892C"
}
],
"triggers": [
{
"event": "on-page-updated",
"conditions": [
{
"state": "Approved"
}
],
"actions": [
{
"action": "change-state",
"state": "In progress"
}
]
},
{
"event": "on-approve",
"conditions": [
{
"state": "In Review"
}
],
"actions": [
{
"action": "change-state",
"state": "Approved"
}
]
},
{
"event": "on-page-updated",
"conditions": [
{
"state": "Approved"
}
],
"actions": [
{
"action": "change-state",
"state": "In progress"
}
]
},
{
"event": "on-reject",
"conditions": [
{
"state": "In Review"
}
],
"actions": [
{
"action": "send-email",
"recipients": [
"@assignee"
],
"notification": {
"subject": "@assignee@ gh",
"title": "@assignee@ fgbfg",
"body": "@assignee@ gbgfb"
}
}
]
},
{
"event": "on-page-updated",
"actions": [
{
"action": "send-email",
"recipients": [
"@creator",
"@watchers"
],
"notification": {
"subject": "page updated",
"body": "page updated "
}
}
]
},
{
"event": "on-assign",
"conditions": [
{
"state": "In Review"
}
],
"actions": [
{
"action": "send-email",
"recipients": [
"@assignee"
],
"notification": {
"subject": "you assigned",
"body": "you assigned "
}
}
]
}
],
"parameters": [
{
"name": "reviewer",
"type": "user",
"scope": "workflow",
"label": "reviewer",
"defaultValue": "712020:ea518eb7-616a-44fd-97b2-4a2a429d1a59"
}
],
"HTMLdescription": "creating for testing"
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.