# How to get default field screen through API

**URL:** <https://community.developer.atlassian.com/t/how-to-get-default-field-screen-through-api/52312>\
**Category:** Jira Cloud\
**Tags:** rest-api, atlassian-connect\
**Created:** [September 23, 2021, 9:51am UTC](https://community.developer.atlassian.com/t/how-to-get-default-field-screen-through-api/52312 "2021-09-23T09:51:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OfirNir](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/ofirnir/32/42210_2.png) [@OfirNir](https://community.developer.atlassian.com/u/OfirNir)\
**Post date:** [September 23, 2021, 9:51am UTC](https://community.developer.atlassian.com/t/how-to-get-default-field-screen-through-api/52312/1 "2021-09-23T09:51:39Z")

</div>

Hi All,  
My addon is adding some custom fields to the user’s cloud environment and later on populate their values when opening issue.  
So far I added all the fields to the default field screen using the API:  
`POST /rest/api/3/screens/addToDefault/{fieldId}`  
It worked for most cases.  
However, I found out some users change their default issue screen to be different than the default screen (id 1) , in this case, I would like to get the screen of the user’s default screen and add it the relevant fields.

 ![image](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/1/e/1e0498297c30c15a44c13ccd0fdb5440bfdda05d.png)  
Basically, I would like to get the id `MyScreen` in this case, since it’s the default for all issue operations and add to it the relevant fields.  
Thanks!

---

<div class="post-metadata">

**Author:** ![BeataSzturemska](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/beataszturemska/32/38178_2.png) [@BeataSzturemska](https://community.developer.atlassian.com/u/BeataSzturemska)\
**Post date:** [September 27, 2021, 9:03am UTC](https://community.developer.atlassian.com/t/how-to-get-default-field-screen-through-api/52312/2 "2021-09-27T09:03:24Z")

</div>

Hi,  
There is an API to [get screen schemes](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-screen-schemes/#api-rest-api-3-screenscheme-get) that should help to find out the ID of the default screen.  
However, you should keep in mind that the assumption `the screen scheme with ID=1 is a default one` can be false, as the `Default Screen Scheme` can be deleted like any other screen scheme.  
Cheers!
