Hello everyone,
I'm trying to set up a Jira automation that will calcultate a score in function of what you choose.
I have five differents fields which are for example :
who provided the information? Marketing (5) , Customer (3) ...
which service is affected by the bug? Marketing (4) , Customer (2) ...
each answer has its score, if for example I choose marketing for the first question and customer for the second, then I would have a score of 10. Because 5 x 2 = 10.
I managed to find an automation to display a score for a field but not to multiply them between them.
For information I have 5 fields with several possible choices so if I have to write each case it will take me forever.
Thanks for your feedback :)
@Ange Lukebadio
In automation for Jira you can calculate field data together and have it output to a Text field.
You would need to have this Text custom field available on the issue so when the automation runs it has a place to display the data calculated.
In your automation you will need to use smart values to calculate your data.
Here are a few documents to help you understand the smart values and calculations:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/
https://support.atlassian.com/cloud-automation/docs/examples-of-using-math-expression-smart-values/
https://confluence.atlassian.com/automation/jira-smart-values-math-expressions-993924866.html
I would use a If statement but be aware that there is a limit to how many if statements you can have in one automation.
If I were you I would try to simplify the calculation as much as possible to have a specific amount of needed calculations.
As you stated it could get to be very long.
Cheers,
Aaron
Hi Aaron,
Thanks for your quick answer !
I'll check the link you sent me :) and I'll tell you if it works, i've read some documents about smart values before but maybe those one are more explicit.
Have a good one,
Ange
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aaron,
So finaly i took the solution to write them down one by one and I asked to chatGPT to do all the possible mixes between all my choices, that was pretty good.
Thanks anyway :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If this answered your question please mark it as answered.
I am sure Chatgpt can configure the automation variables. It's a great tool to help out.
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.
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.