I'm writing automation that, when the original estimate of story edit or fill, then the value of the original estimate in epic (that have been added before) subtract from all the value of its original estimate of story. For example, we have epic A (original estimate is 3h) and story 1 and story 2 add to epic A. When story 1 filled original estimate 1h, the value of original estimate in epic will be 2h. And when story 2 filled original estimate 2h, the value of the original estimate in epic be 0h. I thought that I can do it with automation with smart value, but if anyone has any idea I would appreciate it.
I found it:
{
"update": {
"comment": [
{
"add": {
"body": "#= triggerissue.original Estimate / 60 /"
}
}
],
"timetracking" : [
{
"edit": {
"originalEstimate" : "#= (issue.original Estimate / 60) - (triggerissue.original Estimate / 60) /"
}
}
]
}
}
Hi Ashkan,
I'm keen on automating update of the {{issue.original Estimate}} field but the documentation does not make the "original estimate" field available. How is it possible that you can reference this attribute?
i.e. (issue.original Estimate / 60)
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.