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

ryanzawada August 21, 2019

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
Nicholas Ellis _ALM Works_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 6, 2022

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
AUG Leaders

Atlassian Community Events