Originally asked by ben friedman on 29 October 2020 (original question)
Hi,
i have a check box field in ZD “Jira Ticket”.
For any incoming, i need to have the “Jira Ticket” to be checked.
what should i add in the script?
Originally asked by ben friedman on 29 October 2020 (original question)
Hi,
i have a check box field in ZD “Jira Ticket”.
For any incoming, i need to have the “Jira Ticket” to be checked.
what should i add in the script?
Answer by ben friedman on 30 October 2020
issue.customFields.“checkbox field name”?.value = true
Answer by Francis Martens (Exalate) on 30 October 2020
Hi ben friedman
What exactly do you mean with
> i need to have the “Jira Ticket” to be checked.
Hi Francis Martens (Exalate)
i have a custom, check box, field on ZD, named “Jira Ticket”.
its used in the filter to make sure that only tickets marked with “Jira Ticket” are synced to Jira.
in ZD, i need that field to be always checked. if i dont include anything related in the incoming then the field loses its original ‘checked’ status.
i need something in the incoming in the ZD side, to make sure that field is always checked.
something like
issue.customFields.“Jira Ticket”.option = checked (old community)
i dont know whats the syntax to use.
Hi!
Finally, is it possible to know if a checkbox is checked or unchecked in Zendesk?
Hello Fran Sánchez ,
Yes, it is possible if you you add “Tag” value (equivalent to “Label” in Jira) in ZenDesk and use it to synchronise with Jira (bi-directional).
With best regards,
Dmitrij
thank you very much for the answer Dmitrij POPOV , but I don’t think I made myself clear. I need to be able to check the checkbox in a specific case by synchronization, how can I set that field as checked?
I have a custom field with name “lms_viable”, how can I set it as checked?
if(condition == true) {
issue.customFields."lms_viable".value = true
}
this does not work
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.