> For the complete documentation index, see [llms.txt](https://docs.doubleloop.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.doubleloop.app/build/asana-integration.md).

# Asana integration

## How the date is set in DoubleLoop for Asana tasks

* If there is a start date set in Asana for a task, that will determine the "Happened at" date in DoubleLoop.
* Otherwise:
  * If there is a due date set in Asana for a task, the "end" of the time range is used as the "Happened at" date in DoubleLoop.
  * Otherwise, the "Happened at" date in DoubleLoop is set to the date the Asana task was last modified.

## How the status is set in DoubleLoop for Asana tasks

* If the task is completed in Asana, it's status is set to "Finished" in DoubleLoop.
* Otherwise:
  * If the task has a start date in Asana and the start date is in the past, then the status is set to "Started"
  * If the task has an end date in Asana and the end date is in the past, then the status is set to "Started"
  * If the task does not have a start date or end date or both dates are in the future, then the status is set to "Not started"
