You want to apply, for a Sub-Task with some of their Custom Field be updated with Parent Custom Field values.
By defining this Workflow Function in a Transition of your workflow, you are able to force some of Sub-Task's Custom Field to be updated with those of Parent Issue.
To configure the Inherit CustomFields Post-Function, please follow these steps :
If you want to keep these fields synchronized, it will be preferable to removed concerned CustomFields from the Edit Screen of the Sub-Task, and implement then in all transiitons.
Note that if you need to use such Post-Function in a Initial Transition (Create Transition), you have to check that the Post-Function is used :
If it is not respected you will experience an error message when trying to perform the transition. |
And the XML Declaration as follow :
<post-function > <function type="class"> <arg name="customFieldsSelected">customfield_10260,</arg> <arg name="full.module.key">fr.alkaes.minyaa.jira-plugin-minyaa-workflowsinheritcustomfields-function</arg> <arg name="class.name">fr.alkaes.myaawf.workflow.postfunction.InheritCustomFieldFromParentFunction</arg> </function> </post-function> |
Post-Function for inherit Customfields from Parent Issue |
On this page: |