The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I must be missing an import, the script below gives me the error:
Cannot find matching method java.lang.Object#plus... Please check if the declared type is right and if the method exists...
Any idea what I may be doing wrong? Same happens if I try to multiply the two values.
import com.atlassian.jira.ComponentManager
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.CustomFieldManager
import com.atlassian.jira.issue.Issue
def value = getCustomFieldValue("Value")
def complexity = getCustomFieldValue("Complexity")
return complexity + value
Thanks in advance!
Hi everyone! Want to learn how customizing your Atlassian apps can improve workflows, enhance teamwork, and boost efficiency across your organization? Check out our new, 15-minute Lig...