Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Usage cases
You want to apply, for a Sub-Task, the same Fix Version or Affected Version as its Parent Issue.
How it works
By defining this Workflow Function in a Transition of your workflow, you are able to force Sub-Task's Fix Version or Affected Version to be updated with Versions of Parent Issue.
Configuring the Feature
To configure the Inherit Fix Version Post-Function, please follow these steps :
- Since this Workflow Function does not need to be associated with a screen containing the concerned CustomFields, the function can be added in any Workflow Transition.
It might be:- A Common Transition,
- Or a Global Transition.
Warning |
---|
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. |
- Add the Inherit Fix Version or Inherit Affected Version Post-Function to any wanted transition.
For more information on adding a Post Function in Workflow, please see JIRA: Adding a Post FunctionImage Modified
Image Modified
- You will end up with a transition looking like:
And the XML Declaration as follow :
For Affected Version
Code Block language xml <post-function > <function type="class"> <arg name="full.module.key">fr.alkaes.minyaa.jira-plugin-minyaa-workflowsinheritaffectedversions-function</arg> <arg name="class.name">fr.alkaes.myaawf.workflow.postfunction.InheritAffectedVersionsFunction</arg> </function> </post-function>
For Fix Version
Code Block language xml <post-function > <function type="class"> <arg name="full.module.key">fr.alkaes.minyaa.jira-plugin-minyaa-workflowsinheritfixversions-function</arg> <arg name="class.name">fr.alkaes.myaawf.workflow.postfunction.InheritFixVersionsFunction</arg> </function> </post-function>
Excerpt | ||
---|---|---|
| ||
Post-Function for inherit Fix Version or Affected Versionfrom Parent Issue |
Panel | |
---|---|
On this page:
|