Hi there, I had an automation rule running for a while but after some time it broke. I think it had to do with me creating a 2nd project with the same fields for the same issue type.
In my example I created 3 custom fields under a user story "Art tracked hours - Item", "Design tracked hours - Item", and "Tech tracked hours - Item". In the sub-task field, I also added 3 custom fields "Art tracked hours - Sub-task", "Design tracked hours - Sub-task" and "Tech tracked hours - Sub-task". I got 3 similar automation processes running, one for art, design and tech. Whenever for example the art tracked hours - sub-task is updated, it should sum up all the art tracked hours from all sub-tasks in the story, and place that value in Art tracked hours - item of the user story.
This all worked fine, but it now outputs 0 for some reason.
I'm using the code {{issue.subtasks.map(fieldValue("Design tracked hours - Sub-task")).sum}}.
I'm aware of the field having 2 "m" at the end. Due to the other project it found 2 of these fields so I had to rename this one.
I did check and they are the same field type (both numeric fields).
Hi @Dennis Butijn ,
Could you provide a screenshot of the rule details and the details of the edit issue action?
I managed to solve the issue by renaming the sub-task field to something shorter. I called it "Design Hours" and it now works for some reason.
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.