How tou count the number of specific subtask?using JMWEwhen submitting from status A to B, it will calculate the specific subtask.
Subtask A
Subtask B
Hi @Rizky.Tuasikal
I would type something along the following lines:
{% set subTasks = issue | subtasks("key") %}{{subTasks | field ("fields.issuetype.name")| filter ("Sub-task") | length}}
You can rename the word "Sub-task" inside the filter ("Sub-task") with your own name of subtask
you can use this script:
{% set subTasks = issue | subtasks("key,status") %}{{subTasks | filter (["fields.issuetype.name","Sub-task"]) | filter (["fields.status.name","Completed"]) | length}}
@Alex Koxaras -Relational- ,
it works Alex !!
thank you very much, GBU
hi @Alex Koxaras -Relational- ,
sorry, one more question,
if there is one more condition, where the subtask status that is counted is only the Completed status,
then, how to achieve it?
@David Fischer thank you, it works for me
GBU too
It looks like you're new here. Sign in or register to get started.