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

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 Leaders.
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()"

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events