CA Service Management

Expand all | Collapse all

Change status for all child ticket

Jump to Best Answer
  • 1.  Change status for all child ticket

    Posted 03-27-2014 08:06 AM
    Hi all,
    Here is my task
    change status for all child from xx (arbitrary) to RE (resolved, always same for this function).
    My tries
    • SDM has function "Close All Child", this operation (CLOSE_ALL_CHILD) change status for all child to "Closed" (CL), but we need different status
    • I wanted modify this function with the different status, but the file (freeaccess.spl) where this function is, is not readable
    • I created JavaScript function based on "list_edit.js" and "UPDATE_MULTIPLE" operation, that can change status for all child ticket, but status transition from "xx"  to "RE" is not permitted ("Request Transitions")
    New idea
    create new operation in op_table.cfg based on CLOSE_ALL_CHILD? I created new operation in file op_z_table.cfg called "CHANGE_STATUS_ALL_CHILD" mapped to spell code "change_status_all_child". When i call this operation, SDM return this message "Attempt to find C++ method "change_status_all_child" prior to CppMethodHolder initialization". And here is my end. I know, that i should create new spell function with name "change_status_all_child", but that's all.
    Questions
    • Can anybody describe next process "How to create my own operation CHANGE_STATUS_ALL_CHILD"?
    • Exist better solution of this task?
    Thanks for all ideas
    Lumir


  • 2.  RE: Change status for all child ticket

    Former Employee
    Posted 04-01-2014 05:06 PM
    lumir_botur:
    Hi all,
     
    Here is my task
    change status for all child from xx (arbitrary) to RE (resolved, always same for this function).
     
    My tries
    • SDM has function "Close All Child", this operation (CLOSE_ALL_CHILD) change status for all child to "Closed" (CL), but we need different status
    • I wanted modify this function with the different status, but the file (freeaccess.spl) where this function is, is not readable
    • I created JavaScript function based on "list_edit.js" and "UPDATE_MULTIPLE" operation, that can change status for all child ticket, but status transition from "xx"  to "RE" is not permitted ("Request Transitions")
     
    New idea
    create new operation in op_table.cfg based on CLOSE_ALL_CHILD? I created new operation in file op_z_table.cfg called "CHANGE_STATUS_ALL_CHILD" mapped to spell code "change_status_all_child". When i call this operation, SDM return this message "Attempt to find C++ method "change_status_all_child" prior to CppMethodHolder initialization". And here is my end. I know, that i should create new spell function with name "change_status_all_child", but that's all.
     
    Questions
    • Can anybody describe next process "How to create my own operation CHANGE_STATUS_ALL_CHILD"?
    • Exist better solution of this task?
     
    Thanks for all ideas
    Lumir


    Hi All,

    Any ideas for Lumir?

    Thanks!

    Chris



  • 3.  RE: Change status for all child ticket
    Best Answer

    Posted 04-04-2014 07:22 AM

    Hi Lumir,

    I think to achieve this you would require a custom spel-code.
     
    Also have a look at this external forum article\wiki that may help: http://www.servicedeskusers.com/Propagate_Status_to_Children
     
    Regards,
    Brian


  • 4.  RE: Change status for all child ticket

    Posted 04-16-2014 04:21 AM
    Thanks Brian, I found this article too, but I didn't pay him enough attention. It isn't answer how to map custom operation to spell code, but it's solution of my task ;-) I implemented this solution yesterday and my boss was satisfied, so my task is successfull done :-)
     
    Thanks a lot
    Lumir