Jira Structure, Formula to Test for Existence of Created

Daniel J_ Pinter January 19, 2023

Is there a syntax to test for the existence of a field, such as created, at the current level in a Jira Structure? I want the formula below to only return visible results on projects, features and user stories.

Created Formual.png

2 answers

1 accepted

3 votes
Answer accepted
David Niro
Atlassian Partner
January 20, 2023

Hi @Daniel J_ Pinter ,

It looks like you have some groups, that are not "issues" and the calculation is running against them as well as the issues.

If the idea is to only run the formula for issues and ignore non-issues, you could modify the first part of your query.

IF(issuetype AND created != undefined...

This will ensure the formula is only run when the item in the structure is an issue and if the field is not blank.

Please let me know if this helps!

Best,
David

Daniel J_ Pinter January 20, 2023

That's what I was looking for! Thank you!

Untitled.png

Like Dave Rosenlund _Trundl_ likes this
0 votes
Mikhail Kouyantsev
Contributor
January 19, 2023

Hi, Daniel.
I'm not sure I undestand You correctly. If you mean testing the item for non-empty field, it is quite simple:
Created.PNG
But if You mean checking for the existence of custom field on an issue screen, I afraid, there's no way to check it. However, usually You know which issuetype has which field for every project You have.

Daniel J_ Pinter January 20, 2023

Thanks! This answer gives me ideas for other ways of displaying data, but not the answer (like the droids) that I'm looking for. 

I would like nothing displayed in grouped statusCategory instead of ??? as shown in the attached screenshot.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events