You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I've this code in Groovy server 6 and I would to put in server 8 the problem is that not find the method. Cause any methods are changed, Can you help me to verify this code? thank's
The code in Jira is :
There is nothing wrong with that code.
The "getIssueContext()" method will return a valid issue if there is one.
But the static type checker doesn't know that. This is why you are getting this error/warning. It should still work.
Now, if you don't like to see the error in the editor, I'd recommend you use the following instead:
But be careful with behaviours expected to run in the "Create" screen before the issue has been saved. In that case, the underlyingIssue will be null.