# Ticket notes added via API are not visible on the ticket page on the Zammad dashboard

**URL:** https://community.zammad.org/t/ticket-notes-added-via-api-are-not-visible-on-the-ticket-page-on-the-zammad-dashboard/2626
**Category:** Technical assistance
**Created:** [June 13, 2019, 1:22pm UTC](https://community.zammad.org/t/ticket-notes-added-via-api-are-not-visible-on-the-ticket-page-on-the-zammad-dashboard/2626 "2019-06-13T13:22:22Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![alexdonskih](https://community.zammad.org/user_avatar/community.zammad.org/alexdonskih/32/1466_2.png) [@alexdonskih](https://community.zammad.org/u/alexdonskih)
#### Post date: [June 13, 2019, 1:22pm UTC](https://community.zammad.org/t/ticket-notes-added-via-api-are-not-visible-on-the-ticket-page-on-the-zammad-dashboard/2626/1 "2019-06-13T13:22:22Z")

</div>

### Infos:

- Used Zammad version: 3.0.x
- Used Zammad installation source: Install on Ubuntu via DEB
- Operating system: Ubuntu 16.04 LTS
- Browser + version: Chrome

Hi! I’m new to Zammad. I have a question about creating tickets.

I’m creating a ticket via REST API. I’m passing a data into the “note” field of the http request according to docs: [https://docs.zammad.org/en/latest/api-ticket.html#create](https://docs.zammad.org/en/latest/api-ticket.html#create)

### Expected behavior:

If I understand correctly how this works the “note” field for a new ticket created via rest API should be visible on tickets page within Zammad dashboard

### Actual behavior:

Unfortunately it’s not visible despite the fact that it persist in json if I fetch that ticket via REST API with an http request.

### Steps to reproduce the behavior:

- Create a ticket with non empty “note” field via REST API
- Navigate to the ticket’s page on the Zammad Dashboard

Well, am I missing something here or perhaps I need smth to be configured additionally?

Many thanks

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [June 13, 2019, 7:38pm UTC](https://community.zammad.org/t/ticket-notes-added-via-api-are-not-visible-on-the-ticket-page-on-the-zammad-dashboard/2626/2 "2019-06-13T19:38:17Z")

</div>

Could you please post your payload and the response so we can cross test that?  
Also, do you receive any errors? Production log might hold useful information as well.

Just to clarify: The articles you post on an ticket via API can’t be seen on the webinterface, but you can see them when you poll the API? If so, is this persistent or does a reload of the application solve this issue?

---

<div class="post-metadata">

### Author: ![alexdonskih](https://community.zammad.org/user_avatar/community.zammad.org/alexdonskih/32/1466_2.png) [@alexdonskih](https://community.zammad.org/u/alexdonskih)
#### Post date: [June 14, 2019, 9:04am UTC](https://community.zammad.org/t/ticket-notes-added-via-api-are-not-visible-on-the-ticket-page-on-the-zammad-dashboard/2626/3 "2019-06-14T09:04:34Z")

</div>

Hi!

According to docs I can add a note to ticket when creating it via REST API:  
 ![1](https://community.zammad.org/uploads/default/original/2X/8/8afdc452d48fa7a1bad1d8723cc4b426b9b6f450.png)

I do a http request to /api/v1/tickets endpoint. The payload is:

> ```
> curl -H "Authorization: Token token={token}" -H "X-On-Behalf-Of: user@email.asd" -H "Content-Type: application/json" -d '{"title":"Title","group":"Users","article":{"body":"Body","type":"note","internal":false,"sender_id":2},"note":"Note"}' http://my_zammad/api/v1/tickets
> 
> ```

The API response is:

> ```
> {"id":38,"group_id":1,"priority_id":2,"state_id":1,"organization_id":null,"number":"95035","title":"Title","owner_id":1,"customer_id":4,"note":"Note","first_response_at":null,"first_response_escalation_at":null,"first_response_in_min":null,"first_response_diff_in_min":null,"close_at":null,"close_escalation_at":null,"close_in_min":null,"close_diff_in_min":null,"update_escalation_at":null,"update_in_min":null,"update_diff_in_min":null,"last_contact_at":null,"last_contact_agent_at":null,"last_contact_customer_at":null,"last_owner_update_at":null,"create_article_type_id":10,"create_article_sender_id":2,"article_count":1,"escalation_at":null,"pending_time":null,"type":null,"time_unit":null,"preferences":{},"updated_by_id":4,"created_by_id":4,"created_at":"2019-06-14T08:27:17.232Z","updated_at":"2019-06-14T08:27:17.384Z","article_ids":[95],"ticket_time_accounting_ids":[]}
> 
> ```

You can see that the note was added successfully. It is present in the response.

Next I do a request to /api/v1/tickets/ to fetch that newly created ticket:

> ```
> curl -H "Authorization: Token token={token}" -H "X-On-Behalf-Of: user@email.asd" http://my_zammad/api/v1/tickets/38
> 
> ```

The API response is:

> ```
> {"id":38,"group_id":1,"priority_id":2,"state_id":1,"organization_id":null,"number":"95035","title":"Title","owner_id":1,"customer_id":4,"note":"Note","first_response_at":null,"first_response_escalation_at":null,"first_response_in_min":null,"first_response_diff_in_min":null,"close_at":null,"close_escalation_at":null,"close_in_min":null,"close_diff_in_min":null,"update_escalation_at":null,"update_in_min":null,"update_diff_in_min":null,"last_contact_at":null,"last_contact_agent_at":null,"last_contact_customer_at":null,"last_owner_update_at":null,"create_article_type_id":10,"create_article_sender_id":2,"article_count":1,"escalation_at":null,"pending_time":null,"type":null,"time_unit":null,"preferences":{},"updated_by_id":4,"created_by_id":4,"created_at":"2019-06-14T08:27:17.232Z","updated_at":"2019-06-14T08:27:17.384Z"}
> 
> ```

The note is there too.

But I can’t see it on the ticket’s page when checking Zammad Dashboard. Only title and body can be seen:

 ![2](https://community.zammad.org/uploads/default/original/2X/c/c6bc2738a0082f847af7f6c967dded7795bdf37e.png)

Just to clarify. What I’m going to reach here is to store additional information for the ticket, but I don’t want to keep it in an article.

Perhaps I’m doing smth wrong or there might be a better way for this. I would be grateful for any help.🙂

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [June 21, 2019, 8:57am UTC](https://community.zammad.org/t/ticket-notes-added-via-api-are-not-visible-on-the-ticket-page-on-the-zammad-dashboard/2626/4 "2019-06-21T08:57:36Z")

</div>

Ah! I get it now, sorry for being that slow.

I think that’s intentional at the moment. Not sure if the note field is “future use” only at the moment.

@anon29869905 could you please clearify this? 🙂

---

<div class="post-metadata">

### Author: ![anon29869905](https://community.zammad.org/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@anon29869905](https://community.zammad.org/u/anon29869905)
#### Post date: [June 24, 2019, 10:24am UTC](https://community.zammad.org/t/ticket-notes-added-via-api-are-not-visible-on-the-ticket-page-on-the-zammad-dashboard/2626/5 "2019-06-24T10:24:40Z")

</div>

> [@MrGeneration](#):
>
> I think that’s intentional at the moment. Not sure if the note field is “future use” only at the moment.

@MrGeneration is right. The Ticket note field is currently only an internal field and not rendered to the frontend. There are no concrete plans to change it so far.

---

<div class="post-metadata">

### Author: ![alexdonskih](https://community.zammad.org/user_avatar/community.zammad.org/alexdonskih/32/1466_2.png) [@alexdonskih](https://community.zammad.org/u/alexdonskih)
#### Post date: [June 26, 2019, 9:58am UTC](https://community.zammad.org/t/ticket-notes-added-via-api-are-not-visible-on-the-ticket-page-on-the-zammad-dashboard/2626/6 "2019-06-26T09:58:17Z")

</div>

Thank you @MrGeneration and @anon29869905

---

<div class="post-metadata">

### Author: ![system](https://community.zammad.org/uploads/default/original/1X/5c5afaea2d23f811dbec33cd4edb02fa29d3262f.png) [@system](https://community.zammad.org/u/system)
#### Post date: [October 24, 2019, 9:58am UTC](https://community.zammad.org/t/ticket-notes-added-via-api-are-not-visible-on-the-ticket-page-on-the-zammad-dashboard/2626/7 "2019-10-24T09:58:21Z")

</div>

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
