Is it possible to create a CustomField that is cumulative value of two other CustomFields?

I recently upgraded YouTrack and I am hoping to make a Custom Field that would be a period of total effort which would combine the values of two other Custom Fields (DEV and QA effort) Is that possible?
4 comments
Comment actions Permalink
Hi whurley,
unfortunately it's not yet possible because of http://youtrack.jetbrains.com/issue/JT-18128

But if you are store 'Dev effort' & 'QA effort' as 'integer' values you can use the following simple workflow:
rule Cumulutive effort 
 
when DEV erffort.changed || QA effort.changed { 
  Total effort = DEV erffort + QA effort; 
}
prettyPrint();
And the restriction rule:
rule Restrict to change total effort 
 
when Total effort.changed { 
  assert DEV erffort.changed || QA effort.changed: "Cannot change 'Total effort' manually."; 
}
prettyPrint();
0
Comment actions Permalink
Cool... thanks for the info, solution and quick reply.
0
Comment actions Permalink
Although if it is an agile project you really want to use period vs integer in order to take advantage of all planning/burndown etc. right?
0
Comment actions Permalink
'Integer' estimation field values are taken into account in burndown as well as period fields values. But sure it's preferable to use 'period' field for estimation.
0

Please sign in to leave a comment.