recurent tasks via API - monthly

Hello everyone,

I’m trying to create tasks that recur monthly on the exact same day each month (specifically, the 5th). I found a similar thread about weekly recurrences, but I need a monthly recurrence.

Below is my JSON body:

{
  "data": {
    "name": "Some title",
    "projects": ["XXX"],
    "due_on": "2025-01-01",
    "recurrence": {
      "type": "monthly",
      "data": {
        "days_of_month": [5],
        "frequency": 1
      }
    }
  }
}

The initial task is created correctly for January 5, 2025. However, when I complete that task, the next recurring task always appears on the last day of the month (e.g., January 31) instead of the 5th.

Has anyone encountered this behavior or knows why Asana is shifting the due date to the end of the month? Is there another parameter or best practice for forcing the recurrence to stay on the 5th day each month?

Any help or guidance would be greatly appreciated—thank you!

Welcome to the forum, @Jakub_Kozakiewicz! Instead of the days_of_month key, try passing "date": 1, so your new data body would be like:

{
  "data": {
    "name": "Some title",
    "projects": ["XXX"],
    "due_on": "2025-01-01",
    "recurrence": {
      "type": "monthly",
      "data": {
        "date": 1,
        "frequency": 1
      }
    }
  }
}

Recurrence still isn’t documented so can’t confirm 100%, but I’m assuming this is telling it to recur monthly on the first date of the month. I just tested briefly and it seems to work.

2 Likes

You are my hero! It works, thanks!

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