I'm trying to set up an automation where:
Every time the issue updates, it would edit the custom field (date picker) and set it to the current date. I know there's already a field like that, but it's not supported by the Zendesk add-on, so I can't map it out.
That's why I need to create a custom field, so I can map it to Zendesk.
Thank you in advance :)
Hi Alexander,
There's a couple of ways you can do this. You can add the date field to the simple form above in the edit issue section and simply use {{now}} as its value.
Or if you're using 'Advanced', then this would work:
{ "fields": { "customfield_12200": "{{now}}" } }
Cheers,
Andreas
You could do that in each transition postfunction. But this way you will not get the updated timestamp when someone adds a comment or edits the issue.
I never used Zendesk, but are you sure you cant get the value from issue date modified field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Zendesk's add-on doesn't support the "Updated" field :( How would it be possible to do this through the post functions?
I've checked the postfunctions and I couldn't find a way to edit a custom field, only the system ones :/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've added the following in an automation, but I guess the syntax is incorrect?
{
"fields": {
"customfield_12200": "Date(now()"
}
}
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.