Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Structure Expr language to identify the checkbox condition

Alfred Tan November 18, 2024

Hi, 

 

Is there any Expr language to query the checkbox condition in Jira field and check which checkbox is checked? 

 

 

 

image.png

1 answer

1 accepted

1 vote
Answer accepted
Stepan Kholodov _Tempo_
Community Champion
November 19, 2024

Hello @Alfred Tan 

Structure supports the standard Checkbox field of Jira. But if the field in question comes from a third-party app, then it's likely that by default, its values are accessible by the Formula in a limited way. In this case, a standalone integration between the apps would be required.

If you want us to consider this feature request or if you have other questions about Structure, please reach out to us directly at our support portal.


Best regards,
Stepan
Tempo (the Structure app vendor)

Alfred Tan November 19, 2024

Hi Stepan, 

 

Could you show me some formula examples? 

 

I am not sure the checkbox used by my company is from 3rd party or not.

Stepan Kholodov _Tempo_
Community Champion
November 19, 2024

You can reference any field by its name in the formula. For example, if the field is called 'Checkbox', writing checkbox in the formula should automatically tie this variable to that field, and return its value. You can also just check if the field in question can be mapped to a variable or not.

Best regards,
Stepan

Alfred Tan November 19, 2024

Hi Stepan, 

 

After mapping the variable, how do we "process" the data? 

What is the data type of a checkbox? 

For example, if 1 out of 5 checkbox is checked, how do we read the data and process accordingly. 

 

Regards,

Alfred Tan

Stepan Kholodov _Tempo_
Community Champion
November 20, 2024

The standard Jira field is a string of text. It's not possible for the Formula to know how many maximum options can be selected; it can only see the options that appear in the field. However, if you're using a field from another app, it can work in a different way.

If you want further assistance here, please submit a support request at our portal.

Best regards,
Stepan

Suggest an answer

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

Atlassian Community Events