View Javadoc

1   package com.atlassian.jira.workflow.function;
2   
3   import com.atlassian.jira.issue.Issue;
4   import com.atlassian.jira.issue.MutableIssue;
5   import com.opensymphony.workflow.FunctionProvider;
6   
7   public class InheritFixVersionsFunction extends AInheritFromParentFunction implements FunctionProvider {
8   
9   	
10  	protected void inheritFromParent(MutableIssue _issue, Issue _parent) {
11  		_issue.setFixVersions(_parent.getFixVersions());
12  		storeModifiedFields = true;
13  		storeWithHistory = true;
14  	}
15  	
16  }