Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,506,727
Community Members
 
Community Events
180
Community Groups

How to Update Hidden Field Value through Rest API calls in Jira Cloud....

I have a custom field which is hidden in the screen and i have to update that field through script runner.

1 answer

1 accepted

2 votes
Answer accepted

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

Thank you. This is working for my project.

@Kristian Walker _Adaptavist_ but how can i retrieve the updated field content? When I try it, his value is None

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events