# How to switch draft to Flase

**URL:** <https://community.labelstud.io/t/how-to-switch-draft-to-flase/335>\
**Category:** Label Studio Support\
**Tags:** api, annotations\
**Created:** [August 31, 2024, 8:47pm UTC](https://community.labelstud.io/t/how-to-switch-draft-to-flase/335 "2024-08-31T20:47:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Feras\_Almasri](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/feras_almasri/32/135_2.png) [@Feras\_Almasri](https://community.labelstud.io/u/Feras_Almasri)\
**Post date:** [August 31, 2024, 8:47pm UTC](https://community.labelstud.io/t/how-to-switch-draft-to-flase/335/1 "2024-08-31T20:47:11Z")

</div>

I have some tasks labeled as Draft True as in the image below. How to make them to False? And why this happened.

I couldn’t find any documentation about draft.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/labelstudio/original/1X/32d815eb4c7f3e8a6bf61de6e438b0fa230adcc0.png)

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [August 31, 2024, 9:44pm UTC](https://community.labelstud.io/t/how-to-switch-draft-to-flase/335/2 "2024-08-31T21:44:57Z")

</div>

You have to click the Submit button when you editing your annotations.

---

<div class="post-metadata">

**Author:** ![Feras\_Almasri](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/feras_almasri/32/135_2.png) [@Feras\_Almasri](https://community.labelstud.io/u/Feras_Almasri)\
**Post date:** [September 1, 2024, 8:18am UTC](https://community.labelstud.io/t/how-to-switch-draft-to-flase/335/3 "2024-09-01T08:18:20Z")

</div>

that I what I did. several times and still in draft.  
I thought this could be a user issue. so I did submit by all users.

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [September 1, 2024, 9:49am UTC](https://community.labelstud.io/t/how-to-switch-draft-to-flase/335/4 "2024-09-01T09:49:22Z")

</div>

It should be done on behalf of all users who worked on tasks

---

<div class="post-metadata">

**Author:** ![Feras\_Almasri](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/feras_almasri/32/135_2.png) [@Feras\_Almasri](https://community.labelstud.io/u/Feras_Almasri)\
**Post date:** [September 1, 2024, 1:07pm UTC](https://community.labelstud.io/t/how-to-switch-draft-to-flase/335/5 "2024-09-01T13:07:47Z")

</div>

Then it is not working.

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [September 1, 2024, 8:02pm UTC](https://community.labelstud.io/t/how-to-switch-draft-to-flase/335/6 "2024-09-01T20:02:17Z")

</div>

Run:

```auto
label-studio shell

```

In the shell:

```auto
drafts = AnnotationDraft.objects.filter(task__project=<your-project-id>)

for draft in drafts:
  print(draft.task, draft.user)

```

This way you will see all tasks and drafts that your users haven’t submitted.

---

<div class="post-metadata">

**Author:** ![Feras\_Almasri](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/feras_almasri/32/135_2.png) [@Feras\_Almasri](https://community.labelstud.io/u/Feras_Almasri)\
**Post date:** [September 3, 2024, 6:43am UTC](https://community.labelstud.io/t/how-to-switch-draft-to-flase/335/7 "2024-09-03T06:43:19Z")

</div>

I can see them already using the browser. the field in my images already shows that.  
Why would I need to check using the shell? Is it also possible to do it using the API ?

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [September 3, 2024, 9:43am UTC](https://community.labelstud.io/t/how-to-switch-draft-to-flase/335/8 "2024-09-03T09:43:43Z")

</div>

No, api doesn’t support it.

---

<div class="post-metadata">

**Author:** ![Feras\_Almasri](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/feras_almasri/32/135_2.png) [@Feras\_Almasri](https://community.labelstud.io/u/Feras_Almasri)\
**Post date:** [September 14, 2024, 12:25pm UTC](https://community.labelstud.io/t/how-to-switch-draft-to-flase/335/9 "2024-09-14T12:25:13Z")

</div>

I run the code and it actually gave my the tasks that I already know that they are in draft as I can see in the browser. it only gave me the user.  
So I used the same user for one task I did update and it is still in draft
