Is there a post-function which can set a checkbox (or value) at the Parent's issue when a subtask is being created?
I want to get statistics on how many of my issues have a specific subtask type related. I thought about setting a checkbox active when a subtask of this type is being created, so I can easily report on that.
For your statistic you can use the Script Runner plugin and a subtask JQL already provided by the plugin, see https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner . No need to modify your workflows...
the problem with plugins is that there is a long and stoney approval process before I can get one included and as long as there is any chance to do it without the use of a (new) plugin I'll have to and even worse, it might well be my plugin isn't approved at all - even without a possible workaround.
Having said that: thanks a lot for the plugin hint and I'm definitely going to follow that one up but only after having checked into the built-in options :)
Hi Anja, I think you can achieve this with a JQL filter and then using the results in a gadget on your dashboard so you won't need to customize a post-function.
Other way can be using the free plugin
, where you can use the Add Field Value to Parent post-function.
Yes, I think so... Another way could be using Script Runner plugin so you will have a event fired on the post-function that will activate a listener you can customize.
This plugin it's free too and altough you have to code a little you have some Built-In Scripts you can use.
Okay, I have tried to get this implemented using the post-functions.
I have added the multi-value field to both the parent issue and the sub-task and used a post function to fill the sub-task's field automatically with a value: that works perfectly fine.
What doesn't work is to get the value copied to the parent. I have used the following: The value(s) of field Sub-Tasks will be added to the issue's parent's field.
Any idea why this isn't working?
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG