# Setting start/end date for projects from the API?

**URL:** <https://kanboard.discourse.group/t/setting-start-end-date-for-projects-from-the-api/390>\
**Category:** Open Discussions\
**Created:** [May 22, 2019, 8:14am UTC](https://kanboard.discourse.group/t/setting-start-end-date-for-projects-from-the-api/390 "2019-05-22T08:14:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobiasbp](https://avatars.discourse-cdn.com/v4/letter/t/d78d45/32.png) [@tobiasbp](https://kanboard.discourse.group/u/tobiasbp)\
**Post date:** [May 22, 2019, 8:14am UTC](https://kanboard.discourse.group/t/setting-start-end-date-for-projects-from-the-api/390/1 "2019-05-22T08:14:08Z")

</div>

Hello…

I’m working on integrating Kanboard with other systems where I work. I’d like to set end/start dates for projects I create using the API. It looks to me like it’s not supported.

If it’s not supported, should I post a feature request? Should I (try to) add it myself. Any pointers on where to start?

Thanks,  
Tobias

---

<div class="post-metadata">

**Author:** ![rafaelcamargo](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/rafaelcamargo/32/279_2.png) [@rafaelcamargo](https://kanboard.discourse.group/u/rafaelcamargo)\
**Post date:** [May 22, 2019, 10:59am UTC](https://kanboard.discourse.group/t/setting-start-end-date-for-projects-from-the-api/390/2 "2019-05-22T10:59:29Z")

</div>

Hello, tobiasbp!  
The code you should change is the method `updateProject` from `API/Procedure/ProjectProcedure`

> <https://github.com/kanboard/kanboard/blob/96dd20c0cd0b3d30da7240444be734d92e3c0536/app/Api/Procedure/ProjectProcedure.php#L106-L120>

If you’re willing to change kanboard code, I suggest you [create a pull request](https://docs.kanboard.org/en/latest/developer_guide/contributing.html) afterwards to persist your changes on future versions.  
It is also possible to create a plugin that [implements a new api method](https://docs.kanboard.org/en/latest/plugins/hooks.html#add-new-api-methods). I think that what you’re asking for should be made directly on kanboard instead of a plugin.  
If you need any help, I’ll be around 🙂

---

<div class="post-metadata">

**Author:** ![tobiasbp](https://avatars.discourse-cdn.com/v4/letter/t/d78d45/32.png) [@tobiasbp](https://kanboard.discourse.group/u/tobiasbp)\
**Post date:** [May 24, 2019, 9:07am UTC](https://kanboard.discourse.group/t/setting-start-end-date-for-projects-from-the-api/390/3 "2019-05-24T09:07:07Z")

</div>

Thank you for helping me out. I have updated createProject and updateProject on my own installation to accepth “start\_date” and “end\_date” and played around with it.

I have created a pull request:

> <https://github.com/kanboard/kanboard/pull/4198>
