Hey!
I've spent some time creating automation rules that reflect a card's progress using subtasks using time estimates.
The Kanban board does show subtasks, and instead it shows the sum of progress. The automation rules work nicely, but the card layout does not update automatically.
I have to "trigger" the update by either moving the story to a different status, or by adding/removing a field from the card layout.
Is this a known issue? Is there a way to force-refresh the card layout?
EDIT: An additional question, tangent to the topic, is it possible to reset the timeSpent field? I noticed one can only add to it.
I've found my solution meanwhile, though I believe this is not optimal.
Instead of updating the subtasks' estimates and using the sum-progress field, which apparently does not cause the aforementioned reindexing/refreshing, I instead update the parent story's estimates.
This directly changes the story's fields, and hence (probably) causes a refresh.
Welcome to the Atlassian Community!
Kanban does not have estimates, so that's why you have to build an automation (you're not doing Kanban if you're putting estimates on cards)
What is the trigger for your automation, and what is it set up to change (value on a different issue, the current issue, an epic, etc)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm aware Kanban does not have estimates, I'm leveraging the built-in time estimates (original, remaining, and time spent) to solve this issue, which seemed to get no love nor care.
Basically, we'd like a story's subtasks-based progress bar to show up on the Kanban board. That feature does not work. So I've resorted to leveraging the worklog, with the following automations (not perfect, but it works well enough):
Then, the Kanban board's card layout shows the sum-of-progress as a field, as well as the subtasks field. It works well, hurray!
However, the board does not update automatically once a subtask is updated. I have to e.g. move the entire story to a different status, or remove/add a field in the card layout, to trigger this refresh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does it update when you refresh the browser tab?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If a refresh is not updating the view of the content of a field, then the most likely explanation is that your code is not actually changing the field, or if it is, it is not causing the issue to be re-indexed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It definitely update the sub-tasks' fields, and so the sum-of-progress is also definitely updated. The parent story is not directly modified otherwise.
I suspect it is not causing the re-indexing then. Is there any way to trigger that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Automations should be indexing issues automatically, so we'll probably need to see exactly what automations you have created, including triggers, and exactly what they try to update.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To further illustrate the flow I'm encountering:
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.