Hi!
How can I clone Checklist using smart values? I have a custome filed Checklist cf[11002]. I can't clone it usind standard filed in automation UX. How to clone it using smart value? We use this for checklist https://okapya.atlassian.net/servicedesk/customer/portal/3
{
"fields": {
"ChecklistFieldName": [
{{#issue.ChecklistFieldName}}
{
"name": "{{name}}",
"checked": {{checked}},
"status": { "id": "{{status.id}}" }
}
{{^last}},{{/}}
{{/}}
]
}
}
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.
This is great to hear!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using the built-in checkbox field or a marketplace addon app for checklists?
If you are having difficulty finding the correct smart value/custom field ID, please use this how-to article to find your field: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy ! Thanks for your answer!
We use addone, linked above (https://okapya.atlassian.net/servicedesk/customer/portal/3) so it's not built-in field
Yes, I need to use JSON functions. I know field id (cf[11002]), but I don't know how to write the function correct. I've tried this, but it doesn't work (field is still empty)
{
"update": {
"customfield_11002": [
{
"add": "cloned"
}
]
}
}
So maybe you can help me with correct JSON functions text?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First thing, were you trying to use "cloned" as an operator or as the value to set? That is not a valid operator for the built-in JSON updates with automation rules.
Let's try the simplest possible JSON first to see if that works for your addon's field:
{
"fields": {
"customfield_11002": "{{triggerIssue.customfield_11002}}"
}
}
If that does not work, please find your vendor's documentation on the marketplace site, and they often show examples with automation rules and JSON for their fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy thanks for help! Unfortunately it doen't work for this field. JSON from your reply works with other fields, but not with this one. Will try to find answer in vendor's documentation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sounds good. Which addon are you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.