hello im using this scrip field:
import com.atlassian.jira.component.ComponentAccessorimport com.atlassian.jira.issue.fields.FieldManagerimport com.atlassian.jira.issue.fields.CustomField
def CategoryCF = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Catagory_for_EazyBi") as CustomFielddef tripleValues = CategoryCF.getValue(issue)if (tripleValues == null)
{return null}
return tripleValues.toString()
how can I convert the field result as a single choice select list.
thanks.
Scripted fields are display only, they don't gather or hold data. A select list that doesn't do anything isn't a lot of use.
What are you trying to achieve?
i have a script field that show me the project category.
and i wanted to use this field in the rich filter dashboard add-ons. the add on support gave walkaround
thanks anayway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you ever resolve this?
I want to do the same thing - use a scripted field in the 2-dimensional dashboard gadget. The scripted field will only product 1 of 4 values.
I get Nic's point from a UI standpoint, but was hoping to do this as a workaround to resolve the dashboard issue.
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.