Hi
I have power scripts. What I want to do is to auto-populate fields in a subtask with values from the parent task. How can I do this using power scripts? If it can be done using post functions, can you show me which script to run?
Yup it can be done. As for how, it depends on how you want to do it.
You can use a SIL postfunction script to create the subtask from a workflow step in the parent task, https://confluence.cprime.io/display/SIL/createIssue
Or you can create the subtask via another method, and use a postfunction in the create of the subtask, and use "parent.<field> (ie parent.summary) to populate the fields.
Thank you.
I'd prefer to use the second suggestion ie postfunction. With this option the fields from the parent task are checkboxes and the fields in the subtasks that I need the values to transfer into are select list. Would this work or do I need to convert the target fields to be exactly the same type as the original fields?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.