Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,834
Community Members
 
Community Events
168
Community Groups

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

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

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 Oct 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