<p>That's mostly what gitlab <a href="https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#webhooks" rel="nofollow noreferrer">webhooks</a> are for I think.</p>

<p>For your case that would be an <a href="https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#issues-events" rel="nofollow noreferrer">issue event</a> and you'll have to create something to parse the posted json and do whatever is needed on your CalDav infra to match your needs.</p>

CC BY-SA 4.0
2019-09-10T15:47:01.367Z
2019-09-10T15:47:01.367Z
Tensibai
<p>I want to execute a shell command or call a URL when a user creates a new issue. The reason behind this is to synchronize our Gitlab issues with our CalDav calendar infrastructure. We are using Gitlab community.</p>

<git><gitlab>
How to execute shell command or call URL on new gitlab issue?
gj13
# How to execute shell command or call URL on new gitlab issue?

(Asked by: username_0 on 2019-09-10)

I want to execute a shell command or call a URL when a user creates a new issue. The reason behind this is to synchronize our Gitlab issues with our CalDav calendar infrastructure. We are using Gitlab community.

**Tags:** git, gitlab


---

## 1 answers

### Answer by username_1 on 2019-09-10. Score: 1

That's mostly what gitlab [webhooks](https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#webhooks) are for I think.

For your case that would be an [issue event](https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#issues-events) and you'll have to create something to parse the posted json and do whatever is needed on your CalDav infra to match your needs.


---

