Groovy Script failing in 5.2.x or Later

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Groovy scripts that were in use before an upgrade to 5.2.x or later no longer work.

The following appears in the atlassian-jira.log:

groovy.lang.MissingPropertyException: No such property: fullName for class: com.atlassian.jira.crowd.embedded.ofbiz.OfBizUser

Diagnosis

Scripts that refer to the issue.reporter?fullName property will fail.

Cause

This is caused by breaking changes in the API between JIRA 4.x and JIRA 5.x.

Resolution

  • Refactor the code in question to use the new property:
    • issue.reporter?displayName
    (info) This is to make way for changes related to JRA-1549
Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.