i'm trying to add a new automation rule that sum up time tracking : {{issue.QAStory.TimeSpent.Sum}}
In the backlog i have a Story and linked some QA Story, When a user add a Tracking time in the QA Story, I would like to see the sum up in the Linked Story? Maybe something is wrong, it doesn't work for me :( tried with Sub tasks and it worked. Can someone please help?
For your scenario, it seems you have a Story issue with one-or-more QA Story issues linked to it. And, when the time is log for a QA Story, you want to one of these:
If you want to do the first one, you may modify the rule to specifically branch to only one issue: the Story, using JQL. Then the issue edit can reference the time tracking just logged for the trigger issue.
If you want to do the second one, consider using JQL and Lookup issues to gather the other QA Story issues, sum the total time logged, and then edit the custom field in the Story using a branch (also on JQL to that specific issue).
Please note, based on what you described: I hypothesize the other rule you mention to sum time tracking for subtasks does not work either if it uses the same techniques as you show. Please investigate and re-test that rule.
Kind regards,
Bill
I think your syntax is slightly off for your formula, you're doing {{issue.QAStory.TimeSpent.Sum}} inside a branch for linked issues, which means you're referencing the linked issues' Time Spent, not the QA Story's.
I think what you might want to do instead is something like {{triggerIssue.TimeSpent}} + {{issue.TimeSpent}} (or something to that effect, my syntax is definitely off) that way you'd be getting the timespent from the trigger issue (which is you QA Story), and you're adding it to the time spent for the linked issue.
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.