Hi there,
I'm new to programming. I am doing a lot of automation for my company and now I need to take it to the next level.
I'm trying to figure out how the JSON automation works but some (probably) basic concepts don't reach me.
What I am looking to do here is to take a customer field value, multiply it by a number, then add another custom field value and store it into a field. As simple as that.
usually I get around these kind of issues in my life pretty easilly but this one, I don't seam to find where to start.
I do have the field numbers (or name).
Thanks for your help
Hi @Martin,
I usually use automation for Jira for simple operations like the one you're describing.
You can follow the "Multiply" example in the documentation below
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/#Multiply
Please let me know if that helped.
Cheers,
Melo
Hi @Martin
Yes, and...to what Melo suggests: Please try the way the math operations are described in the documentation. Some other things to try if that does not work are:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you guys,
I saw the documentation but what I am looking is learning the basics of coding in this. For exemple: why do I have to add the {{ and where to put them... things like that.
I know how to find the custom fields number, I like to dig around. What I need here is just a tip on where to start my learning.
Thanks for replying! I really appreciate your support.
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Martin ,
I was quite new to coding and jira automation too. Personally I started with reeeeaaally easy examples in jira automation, doing some examples from the community (like closing a story when all subtasks are done, transition a story to "in progress" when the first subtask moves to "in progress",...) After some examples, reading quite a lot here in the community and getting deeper into automation I got in contact with smart values (kind of "accidently" :D ). I can´t tell you exactly "why" the {{ }} but reading through and trying out the above mentioned documentation helped me a lot. You´ll get familiar to the format while trying out ;)
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.