Usage: I have an issue with a dozen subtasks. I wan to change the assignee of the issue to someone else and have all of the subtasks automatically update as well, however, I do not want to create a workflow item to do this. Our workflow is already pretty complex as it is.
I don't really have the knowledge to create my own plugin or figure out the event listeners. My thinking was to use the script runner to have the escalation service work off of the following JQL query. Honestly I'd rather not use the service since its sitting there checking every x number of minutes, but if it works, I'll take it:
('Subtask Follow' = 'Yes') AND (Status != 'Closed') AND ('assignee' CHANGED)
Subtask follow is basically a field that lets the user decide if they want the assignement change to affect all the subtasks. Here's the gist of the script I envisioned (that obviously doesn't work..):
issue.subtask.assignee == issue.assignee
I've tried a variety of other scripts based on my searches, but I just don't know enough to really understand what the problem is. Seems like this should be simple enough and useful enough...