Forums

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

Custom math equation in a custom numeric field

Deleted user March 24, 2022

I've added a custom numeric field to my issue type and I want the number displayed to be based on 2 other custom field entries. For example it will be pulling the values from field A and B to do: (A +B) /2

I saw some examples like below in the docs but I can't enter anything but numbers in that field. Am I missing something?

{{issue.My Number field}} + 43

 

2 answers

2 votes
Ste Wright
Community Champion
March 24, 2022

Hi @[deleted] 

Usually, you'd use Automation to manage this - for example...

  • Trigger: Field A updated
  • Condition: Field A and B are both populated
  • Action: Edit Field C - set value based on a smart value math calculation

See these help documents for more information.

If you need more assistance with the specifics of the rule - please let us know the fields, and what the calculation would be!

Ste

Deleted user March 24, 2022

I don't have access to automation so I thought there's a more basic way to just use a custom expression directly in the custom field

Ste Wright
Community Champion
March 24, 2022

Hi @[deleted] 

If you're on Jira Cloud, Automation is a native feature - it comes in two levels...

  • Project Admins can set automation rules for their own Project
  • Jira Admins can set multi-project and global automation rules

Unless your Jira Admins have turned off project-level rule creation, then only Jira Admins can create all rules.

Are you a Jira Admin? If not - could you check with them to see if they would create a rule for you, or give you access to create them?

Ste

Deleted user March 25, 2022

Oh, I understood it to be a Premium feature but maybe I misunderstood. I'll have another look at Automation. Thanks

Like Ste Wright likes this
Ste Wright
Community Champion
March 25, 2022

Hi @[deleted] 

Automation is available for all levels of Jira plan, including free. There are just some variances between the plans (such as execution limits, etc).

Let us know how you get on with your rule!

Ste

0 votes
Fabian Lim
Community Champion
March 24, 2022

Hi @[deleted]

Have you tried pasting the smart value formulas.

Can you also share your rule details?

Regards 

Deleted user March 24, 2022

the numeric field only takes numbers so I can't even input smart value formulas, as I understand it. But maybe I'm missing something obvious 

Fabian Lim
Community Champion
March 24, 2022

You need automation. If you don't have it you will need other 3rd party plugins.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events