The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

NullPointerException on call of getFieldById("issuelinks-issues")

Minh Malaterre
August 20, 2021

Hello,

Since the upgrade to Jira 8.13.9 and Adaptavist 6.32.0, my script logs an NullPointerException at this line : (it was ok before)

getFieldById("issuelinks-issues").setFormValue(usKey).setReadOnly(true)

Do you know what's the problem, is it no more compliant with the new version of Adaptavist/Jira?

Thanks,

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Nir Haimov
Community Champion
September 4, 2021

Hi @Minh Malaterre 

Seems like the error is the field you put.

getFieldById("issuelinks-issues"), try to make sure the ID is correct or the method is correct

TAGS
AUG Leaders

Atlassian Community Events