Good day,
Please advise if a story can inherit certain field information from the linked epic?
Meaning once we capture the epic name on the story/task issue, certain information from the epic will automatically be captured on the story/task.
Regards
Rethabile M
You could write a Scripted Field with the Script Runner Plugin for that - an example for displaying the Due Date of the Epic would be:
import com.atlassian.jira.issue.IssueManager
import com.atlassian.jira.ComponentManager
import com.atlassian.jira.issue.CustomFieldManager
def customFieldManager = ComponentManager.getInstance().getCustomFieldManager();
def cf = customFieldManager.getCustomFieldObjects(issue).find {it.name == "Epic Link"}
def issueManager = ComponentManager.getInstance().getIssueManager();
issueManager.getIssueObject(issue.getCustomFieldValue(cf).getKey()).getDueDate()
Nice answer, though I will use ComponentAccessor instead of the Component Manager.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.