Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I make an Automation for advanced math to multiply and then add in to one field. Edited

The function I am attempting is something is this:

{{#=}}{{issue.10146}} * 85 + {{issue.10147}} * 125 + {{issue.10148}} * 135 + {{issue.10149}} * 150 + {{issue.10150}} * 165 + {{issue.10151}} * 175 + {{issue.10152}} * 185 + {{issue.10153}} * 235 + {{issue.10154}} * 25 + {{issue.10155}} * 35 + {{issue.10156}} * 45 + {{issue.10157}} * 55 + {{issue.10158}} * 65 + {{issue.10159}} * 75{{/}}

These are all number fields and trying to add all these up into one number field as well.
The attempt is the multiple multiple contractors' rates by the hours needed, and add them together in one Total Cost field.

When attempting to run this rule, the audit comes back with this:

Action details:

Error rendering smart-values when executing this rule:Unknown unary operator '*' at position 1: * 85 + * 125 + * 135 + * 150 + * 165 + * 175 + * 185 + * 235 + * 25 + * 35 + * 45 + * 55 + * 65 + * 75

Thanks

1 answer

1 accepted

0 votes
Answer accepted

Hi there, 

That's a lot of numbers! So it seems the problem and solution is a simple one. 

Currently, you have the smart value written incorrectly as {{issue.10146}} 

It should be {{issue.customfield_10146}} 

If you make that change for all of the numbers, this should work for you. 

You can see more about smart values here: https://docs.automationforjira.com/working-with-issue-data/available-values.html#available-values 

Let me know if you run into any trouble! 

Cheers,

John 

Updated the rule accordingly right now, recieving the same errors. Usury operator

Hi there,

No problem, I will need to take a look into the rule config and the audit log. Keeping privacy in mind, could you please send through a support ticket with screenshots of the audit log and the rule config to our support team here:

https://codebarrel.atlassian.net/servicedesk/customer/portal/1/create/3

Thanks,

John 

Hi there, @John McKiernan 

Was there a solution that can be shared for the formula / rule error?

Thanks, and best regards,

Bill

Like Stephanie High likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - Spring 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

220 views 3 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you