Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Calculate field for complex priority
import com.atlassian.jira.component.ComponentAccessor
def getCustomFieldValue(issue, Long fieldId) {
def customSelects = [10001,10002,10003]//todo set Custom Select List field id
def rezult = 1
rezult *= getCustomFieldValue(issue, cfId)?.data as Integer
return rezult
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.