Using an automation, I'm duplicating issues from one project to another and copying over much of the information.
Both projects are using the same custom field (customfield_10067), a "Select List (cascading)" field. I want to copy this field into the new issue that I'm creating and can't figure out how to do so using the "Additional Fields" section.
@Avi J ,
You can use this JSON in Additional Fields to copy the value:
{
"update": {
"CUSTOM_FIELD_NAME": [
{
"set": {
"value": "{{triggerIssue.fields.CUSTOM_FIELD_NAME.value}}",
"child": {
"value": "{{triggerIssue.fields.CUSTOM_FIELD_NAME.child.value}}"
}
}
}
]
}
}
You can change the Custom Field Name by Custom Field ID as well.
Hope this helps.
Hey @Fernando Eugênio da Silva Thanks for this info, I'm facing the same situation as Avi. I just wanna know if this works the same if I need to clone 2 "Select List (cascading)" fields in the same automation?
How can I put it on JSON? Can you help me with that? Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use this JSON to consider two custom cascade fields.
{"update": {"CUSTOM_FIELD_NAME": [{"set": {"value": "{{triggerIssue.fields.CUSTOM_FIELD_NAME.value}}","child": {"value": "{{triggerIssue.fields.CUSTOM_FIELD_NAME.child.value}}"}}}],"CUSTOM_FIELD_NAME": [{"set": {"value": "{{triggerIssue.fields.CUSTOM_FIELD_NAME.value}}","child": {"value": "{{triggerIssue.fields.CUSTOM_FIELD_NAME.child.value}}"}}}]}}
Hope this helps you.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.