You want to apply, for a Sub-Task, the same Priority as its Parent Issue.
By defining this Workflow Function in a Transition of your workflow, you are able to force Sub-Task's Priority to be updated with Priority of Parent Issue.
To configure the Inherit Priority Post-Function, please follow these steps :
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="full.module.key">fr.alkaes.minyaa.jira-plugin-minyaa-workflowsinheritpriority-function</arg> <arg name="class.name">fr.alkaes.myaawf.workflow.postfunction.InheritPriorityFunction</arg> </function> </post-function>
Post-Function for inherit Priority from Parent Issue
On this page: