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: 

Script Not working after upgrade to 8.5.5

G Sunil Kumar
August 21, 2020

We have script where we send notification based on the  saved Filter. The script was working fine when in the version 7.13.11. But after the upgrade to 8.5.5 we are getting an error the "Cant invoke the method getQuery() on null Object".

 

Can anyone say why is this happening.

 

Regards,

Sunil

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 21, 2020

Your script is may be using a call to the Jira API that was deprecated in 7 and removed in 8.  Or it may be using a call that 8 has changed the usage of, and now returns null when given your parameters.

If you want our help fixing your script, we'll need to see it.  Specifically the bits that get the object against which you eventually call "getQuery()"

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events