Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

317 views 1 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you