Hi There,
While Creating issue I have some custom fields in which I select option. When ever an option is selected it should store some value.
For Example: Their is a field 'City' it includes values {'Hyd', 'pune','Mumbai'} when 'Hyd' is selected it should store 5points in a field, if Pune is selected then it should store 10 points.
Similarly I will have multiple fields with same case. After selecting all values I want to calculate total and set priority based on total.
I am using "Select List(Cascading) field type" for selecting options according to my requirements.
Thanks,
Aamer
Hi @mohammed aamer khan ,
You can achieve your request using automation.
Create the conditions based on the fields and points for each selection and then calculate them and display in a further custom field.
This should be the easiest way to do it
Hi @Sam Bartolome
Thanks for the reply, Actually it would be great if I could be able to achieve it using script runner. Do you have any idea(using script runner) or script related to it?
Thanks
Aamer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not good at all with scripting.
In general you should access every selected condition and then assign the required number for later calculate and populate are needed. maybe scripted fields from scriptrunner may help you there.
As a workaround i would suggest to use automation so it is running and then look to create the script
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.
Hi There,
Achieved it via Automations with If/else conditions.
Thanks,
Aamer
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.