Hi,
I tried searching the marketplace for an add-on which would roll up the values from a certain custom field on sub-tasks, up to the parent issue...somethings similar to how the time tracking works except for a custom field.
I couldn't find anything on the marketplace so I'm curious whether anyone has done something like this before or if maybe I just missed the right add-on for this?
Thanks!
Edit: the one add-on that I did find, was Epic Sum Up, but it does not seem to allow the roll up of custom fields, unless I am misunderstanding the documentation.
Edit 2: the custom fields I am wanting to roll up contain numbers.
Hi Tudor - what kind of custom fields are you trying to roll-up? Numbers? Text strings? Other?
Hi Justin, I am looking to roll-up numbers from my custom fields. Thanks for the help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you're on Jira Server or Data Center, and with an app like Power Scripts for Jira, you could write a simple SIL script like this:
if(project=="PROJ" && issueType=="Sub-task") {
number rollItUp=0;
string [] allSubtasks = subtasks(parent.key);
for(string st in allSubtasks) {
rollItUp += %st%.customfield_12345;
}
parent.customfield_12345 = rollItUp;
}
You could then run this script any time an issue is created or modified via SIL Listeners. There are other more involved ways to accomplish a roll-up of number fields, but quick and dirty shows it's at least possible :-) Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the help! I will give this a try and see if I can get it working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.