Forums

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

How to handle Div/0 or Type? Errors

Tejas Tejas August 3, 2023

If formula returns Div/0 or Type? Errors, I would like to show blank or 0 or -.

 

I am creating a formula in Jira Structure and explored around. Something similar to ISERROR in excel is what I am looking for. 

 

How to achieve this?

4 answers

0 votes
Stepan Kholodov _Tempo_
Community Champion
August 3, 2023

Hello @Tejas Tejas 

You can add an extra condition to your formula to only consider issues that have either or both values like this:

if fieldname1 and fieldname2: filedname1/fieldname2

Best regards,
Stepan Kholodov
Tempo

0 votes
Frederik Vantroys
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2023

Is it possible it is

iferror in jira ?

0 votes
Frederik Vantroys
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2023

Hi @Tejas Tejas ;

 

Welcome to the community !

 

Is it when trying to set up an automation rule you encounter this problem ?

Tejas Tejas August 3, 2023

Thanks Fred.

 

Here's what I did:

1. Created a structure

2. Added a few columns 

3. Added a column as Formula

4. Write formula as sum(FieldName1/FieldName2)

 

Scenario 1:

FieldName is either emtpy or 0 hence returns Div/0 Error

 

Scenario 2:

FieldName1 has numbers as well as characters hence returns Type? Error.

 

I am trying to handle these two errors by showing them with either 0 or - in a column on the structure board. 

0 votes
Jack Brickey
Community Champion
August 3, 2023

Hi @Tejas Tejas , I don't understand where you are performing these math expressions. Please provide more context. Thanks!

Tejas Tejas August 3, 2023

I am creating a formula in Jira Structure column using formula action. 

Suggest an answer

Log in or Sign up to answer