I am trying to figure out how I can add two values (from two different fields) that I have from a ticket. I want to add the values from them into original estimate field
Would I use the the 'more options' section on the project automation page? The format is shown like this but I am not sure how to two values into one field.
{
"fields": {
"environment": "Thanks for raising {{issue.key}}.",
"labels": [
"bugfix",
"blitz_test"
],
"Custom Field Name": {
"value": "red"
}
And also i have to multiply the value after addition by 60. Since we are getting them in hours and needs to be multiplied by 60
Hello @Manikandan Kaliyaperumal ,
Thanks for reaching out to the community, and if the two fields you are combning are number fields you should be able to add the fields together then do the multiplication using "Jira smart values - math expressions" in a edit action to set the field value with something like:
{{#=}}{{issue.custom field 1.plus(issue.custom field 2)}} * 60{{/}}
Check it out and let me know if you run into any issues
Regards,
Earl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.