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
Thank you for your question.
I can confirm that to set a field which is not on the screen inside of ScriptRunner for Jira Cloud that you need to specify a query string paramater to override screen security and to allow the rest call to set a field which is not on the screen.
I can confirm that we have an example script inside of the documentation page located here which shows how you can use the .queryString("overrideScreenSecurity", Boolean.TRUE) paramter to set a field which is on screen.
Please note that when running this using paramater that your script must be run as the ScriptRunner Add-On User as only this user is allowed to set fields which are not pressent on the issue screens.
If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.