How can I write a formula that iterates over all subtasks and checks if the value of a certain custom field in the subtask is undefined?
Hello @Surekha Gupta
If you mean sub-tasks as in Sub-task issue type, then you can use a formula like this:
if issuetype = "sub-task" and !field_name: "undefined"
Best regards,
Stepan Kholodov
Tempo
Hi Stepan,
Thank you for your suggestion. However, what I am looking for is a syntax equivalent to a "for statement" in C.
For (all subtasks for the current row){
if subtask meets certain condition
goto end
else
aggregate subtask cutom field to parent
}
end
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid it's not clear to me what exactly you're trying to achieve in the structure. To avoid any misunderstanding, please share a screenshot of your structure with:
And please provide examples of what kind of data you want the formula to return.
Alternatively, you can reach out to us directly at our support portal and we continue the discussion there.
Best regards,
Stepan Kholodov
Tempo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stepan, I have another post for the same question that has screenshots and details but no one answered that, so I was trying to simplify/ask a more generic question. Here is that post:
Does that help clarify what I am looking for?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. I responded to you in the mentioned post.
Best regards,
Stepan Kholodov
Tempo
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.