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
Next: Root
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
Hi Sneha,
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.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Kristian Walker _Adaptavist_ but how can i retrieve the updated field content? When I try it, his value is None
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.