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