- Mario Fanck
- Jan 15, 2020
- connector-onpremise-jira
- Comment
1 answer
- 10-1
Hi Mario Fanck
Can you check if How to synchronize 'Customer request type' Service Desk field covers what you are looking for?
- Mario Fanck
Hi Francis,
sure but this works only manually. Details EASE-3750
We need this automatically in the remote issue.
for customer request types:
local "help1" → remote "help1"
local "help2" → remote "help2"
local "help3" → remote "help3"
local "help4" → remote "help4"
- Francis Martens (Exalate)
What do you mean with 'manually'?
I guess I'm missing the point.
- Mario Fanck
Outgoing sync:
replica.customFields."Customer Request Type" = issue.customFields."Customer Request Type"
Incoming sync:
issue.customFields."Customer Request Type".value = "IT Help"
IT Help is a string but i need this dynamically depending from the input project A.
When i choose a customer request type "IT Help" in project A then sync customer request type "IT Help" to project B.
When i choose a customer request type "IT Help 1" in project A then sync customer request type "IT Help 1" to project B.
When i choose a customer request type "IT Help 2" in project A then sync customer request type "IT Help 2" to project B.
- André Leroy-Beaulieu Castro
Incoming sync:
issue.customFields."Customer Request Type".value = "IT Help"
Instead of setting a static string you want to grab the value from the replica's value so it should be:
issue.customFields."Customer Request Type".value = replica.customFields."Customer Request Type"?.value
Thanks,
André
- Shiva
Hi Mario Fanck ,
Were you able to achieve this? I am having same issue. I can sync the static value but it is not grabbing the value from the original ticket.
Andre - I have tried your suggestion but its not working.
Thanks,
Shiva
- Francis Martens (Exalate)
Shiva,
Check the value that you are assigning (using debug.error or log.info)
Make sure that what you assign can be set.
If it doesn't work for a certain value - try it with a hard coded string.
CommentAdd your comment...