We create a story with multiple subtasks. I assign a subtask to myself. We would like this to automatically copy the subtask assignee to the parent story, if the parent story is current unassigned. So, the first person assigned to a subtask would also get assigned to the currently-unassigned parent story.
Hello,
You would need an app for it. There are multiple apps available: Power Scripts, ScriptsRunner, Automation for Jira.
If you choose the Power Scripts app, then you could write a listener for the Issue Assigned event with a code like this:
if (issueType == "Subtask" and isNull(parent.assignee)) {
parent.assignee = assignee;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.