/build/static/layout/Breadcrumb_cap_w.png

Parent to Child ticket copy multiselect field data

I have a custom ticket rule running to transfer pretty much all values from a parent ticket to a child ticket, however one of the fiels is a multiselect field.  Not sure how to make it transfer those values.  Would also like to know if it would be possible to take the user from a manager field and add them to the cc_list field but that is secondary and trivial at this point.  The multiselect field is custom_8:


SELECT

PARENT.CUSTOM_FIELD_VALUE0, 

HD_TICKET.TITLE,

HD_TICKET.ID

FROM

HD_TICKET PARENT, HD_TICKET

WHERE

PARENT.ID = HD_TICKET.PARENT_ID

AND HD_TICKET.RESOLUTION not like '%Fields Pulled From Parent Ticket%'




UPDATE

HD_TICKET PARENT,

HD_TICKET

SET

HD_TICKET.TITLE = CONCAT(HD_TICKET.TITLE," ","- ",PARENT.TITLE," -"),

HD_TICKET.CUSTOM_FIELD_VALUE0 = PARENT.CUSTOM_FIELD_VALUE0,

HD_TICKET.CUSTOM_FIELD_VALUE1 = PARENT.CUSTOM_FIELD_VALUE1,

HD_TICKET.CUSTOM_FIELD_VALUE2 = PARENT.CUSTOM_FIELD_VALUE2,

HD_TICKET.CUSTOM_FIELD_VALUE3 = PARENT.CUSTOM_FIELD_VALUE3,

HD_TICKET.CUSTOM_FIELD_VALUE4 = PARENT.CUSTOM_FIELD_VALUE4,

HD_TICKET.CUSTOM_FIELD_VALUE5 = PARENT.CUSTOM_FIELD_VALUE5,

HD_TICKET.CUSTOM_FIELD_VALUE6 = PARENT.CUSTOM_FIELD_VALUE6,

HD_TICKET.CUSTOM_FIELD_VALUE8 = PARENT.CUSTOM_FIELD_VALUE8,

HD_TICKET.CUSTOM_FIELD_VALUE9 = PARENT.CUSTOM_FIELD_VALUE9,

HD_TICKET.CUSTOM_FIELD_VALUE10 = PARENT.CUSTOM_FIELD_VALUE10,

HD_TICKET.CUSTOM_FIELD_VALUE11 = PARENT.CUSTOM_FIELD_VALUE11,

HD_TICKET.CUSTOM_FIELD_VALUE12 = PARENT.CUSTOM_FIELD_VALUE12,

HD_TICKET.CUSTOM_FIELD_VALUE13 = PARENT.CUSTOM_FIELD_VALUE13,

HD_TICKET.RESOLUTION = CONCAT(HD_TICKET.RESOLUTION,' Name added to title.') 

WHERE

((PARENT.ID = HD_TICKET.PARENT_ID) AND HD_TICKET.ID = <TICKET_IDS>)


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Hobbsy 5 years ago
Red Belt
0

Surely when the rule runs it transfers the data within the multiselect field, i.e. the visible single data value? SO there should be no issue


that is ti say if your multiselect custom field has the options of yes,no,maybe and you have maybe selected it will copy Maybe


If you do not have that as an option on the target multi select field, if it is another queue for example, the value Maybe will still be copied and will remain until such time that you select a new value


Comments:
  • no it does not transfer, the child ticket in question is actually created in the exact same queue but when you open the child ticket the values are not selected. they are custom values lists of systems requiring access and you multi slect them on the parent ticket, convert to process but they are no longer selected on the child ticket. Further, when the notification for the child ticket comes out those field values are not displayed in the custom email ticket as they are in the parent ticket - jrhoops 5 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ