How to update reporter in subtask ,if parent reporter is updated on parent transition

140401 kindia October 16, 2017
Hi All,

I am trying to update new reporter in subtask ,if reporter has changed from parent screen on any transition.

It's is not working on post function .
Please suggest piece of code n logic.
Thanks

2 answers

0 votes
Code to live blog August 28, 2022

You can assign the reporter when the subtask is closed or done. Please go through the below blog post on how to achieve it through script runner and groovy script.

https://www.codetolive.in/jira/How-to-assign-the-subtask-to-the-reporter-after-it-is-closed

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 19, 2017

It looks like there are a number of plugins in jira that might be able to help with this.  First the plugin Quick Subtask for Jira appears to be able to automatically set the reporter of a subtask to be the parent reporter according to their documentation.   However it looks like that might just be useful at the time of the subtask creation.

If you're looking for something to change the reporter during other transitions, then I'd recommend looking into Scriptrunner as a means to use a script to do this.  It looks like there have been other posts here on community in the past that have requested very similar functions and provided some scriptrunner scripts:  See https://community.atlassian.com/t5/Product-Apps-questions/Using-Script-Runner-post-function-to-change-the-reporter-of-a/qaq-p/40806 for one example.

Suggest an answer

Log in or Sign up to answer