The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
1
0
-1
Christos Katsivas
- Jul 02, 2020
Hi team,
Can I sync a Jira text field with Requester to Zendesk, in the case, when i create tickets from Jira to Zendesk?
Thank you!
Source: Zendesk
- connector-cloud-zendesk
- Comment
CommentAdd your comment...
1 answer
- 10-1
issue.customFields."URequester".value = nodeHelper.getUserByUsername(replica.customField."Jira Text"?.value)
You can do
- Christos Katsivas
Hi,
URequester is the Zendesk system user field? Also, in the outgoing in Jira its required to write the following?
replica.customFields."Jira Text" = issue.customFields."Jira text"
- Christos Katsivas
Also, It does not works. I get the following error.
Script error details: Cannot get property 'Customer' on null object. Error line: Script715.groovy:176
- Juan Grases
Hi!
Yes you need to add
replica.customFields."Jira Text" = issue.customFields."Jira text"
To your Jira Outgoing, replacing Jira Text with the actual CF name. Regarding the error you are having, it means that you are suing
.Customer
on something that is null. Are you sure that 'Customer' is the name of the CF? - Juan Grases
Hi Christos, I realise now that this is not a custom field on Zendesk. Could you try doing:
issue.reporter = nodeHelper.getUserByUsername(replica.customField."Jira Text"?.value)
You can also use
nodeHelper.getUserByUsername nodeHelper.getUserByEmail nodeHelper.getUser
- Roman
Hi Christos Katsivas ,
Can you try issue.reporter = nodeHelper.getUserByEmail(replica.customFields."Mood"?.value)
CommentAdd your comment...
Overview
Content Tools
search
attachments
weblink
advanced