Hi Community,
I try to create automation, which will sum up Original estimates from all tasks in a Sprint and send that Data as a Web Request. For example if I have 3 tasks in sprint X, which have 2, 3 an 5 hours estimation I want to get 10 as a result.
The problem is that I receive only information from single task not for all together.
Can you help me find a way?
My automation is this
{ "Sprint":"{{issue.fixversions.name}}", "Original_estimate":"{{issue.timetracking.originalestimate.sum}}" }
That may be done using the bulk-handling feature of branches, with the plural {{issues}} smart value: https://confluence.atlassian.com/automation/run-a-rule-against-issues-in-bulk-993924653.html
Rather than using the branch on issues in sprint, please use the branch on JQL to include your test on the issue type. Then the condition may be removed from the rule.
Kind regards,
Bill
Thanks for the answer @Bill Sheboy
I still get e-mail for each task in the sprint
This is the e- mail content
{{#issues}}
These issues are in the sprint
"Sprint":"{{issue.fixversions.name}}",
"Original_estimate":"{{issue.originalestimate.sum}}"
{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please re-read my suggestion and that article. Your rule should look like this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, Can you please help me with email content. Currectly I receive empty mails. Content is as stated in the article.
{{#issues}}
{{issue.timetracking.originalEstimate}}
{{/}}
Is there anything wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When inside of an iterator, such as {{#issues}}...{{/}} the issue prefix is not used; the scope is the iterator.
For example, this would list the issues and their original estimates:
{{#issues}}
* {{key}} -- {{timetracking.orginalEstimate}}
{{/}}
This would sum the values, without the iterator:
{{issues.timetracking.originalEstimateSeconds.sum}}
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.