I am trying to set smart values for a select list, single choice field. However, when I add it to an edit action I do not get the blank field to add in the custom code, I am only getting the 3 options setup for the select list. I did a test adding the filed from the request type and that allowed me to add the code.
Hi @Devon Engen
You can't add new options to a select field via automation.
You can set the field value to the values specified as options to the field.
Extra options can only be ste by updating the options for the field on the field configuration via the GUI or API
In a Team Managed project the project admin can do this and in a company managed project a Jira admin will have to update the field options.
Or is this not your request?
Thanks for the reply! I'm not trying to add new fields, I am trying to assign values to the choice field options so I can calculate a total at the end (for a risk assessment). For whatever reason, when I use a field I used in custom fields it only lets me select the custom choice options but when I created the field right from the service request, it does. Not sure if it technically maters where I create the field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Devon Engen
Can you show your form, but this is probably based on not using a custom field for the options, but set options by you.
Can you show the config used in the form and the related automation (if there is one)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The screen shot above is the automation, and below is the request form. I haven't done anything besides try to assign the values. I was also mistaken, the field I was able to assign values to before was just a number select field. According to my research (shown below) I should be able to assign values to the custom options fora select list (single choice)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Devon Engen
The solution you require is baed on the selection of the values in the select field.
You will need an extra custom field that will store the value based on the option chosen in the select field
So you create an issue the, you set an option from the select field, the automation will then look at this option and then populate the other field with a value.
P.S AI isn't smart on JIra, this comes from experience. It will even combine options to find solutions based on on-prem and cloud options combined and that will never work, as this is impossible.
Best practice, don't use AI for Jira Automation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HA! Thanks! I think this makes sense, I'll give it a go!
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.