Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,991
Community Members
 
Community Events
168
Community Groups

Help with using formula in structure to do basic addition and multiplication

Hi community I need some help with a basic formula for a structure I created.

 

I need the formula to pull information from a ticket(s) in the structure, like this (These fields are being extracted from certain fields in the tickets):

Field 1 (K) = 1

Field 2 (P) = 4

Field 3 (O) = 3

The formula would add P+K together (well call this sum A), and then do the following calculation: K x A x O = ____

 

Can anyone please help me out with this?

 

Thank you!

 

 

1 answer

1 vote

Hi Ryan,

This is actually rather simple with formula columns in Structure.  This code should do what you describe.

WITH A = P + K :
K * A * O

The formula will ask you to define what K,P, and O are, but you can easily point them to issue fields.  The reason we don't need to define A is because it is set by the WITH statement in the first line.  The second line simply returns the result of the multiplication, this is what will be displayed in the column.

Cheers,
Nick [ALM Works]

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events