Skip to main content
Skip table of contents

Scheduled time-based Issues creation

Use Case: Create Month Closing financial tasks at the end of every month

Automation Trigger: Scheduled

  1. Prepare the Template: Use the same approach as in the general example above

    1. Add (optional) Variables to consistently track the month and the year of relevant tasks

    2. Choose “Create Issues” as the operation

    3. Fill Variables values with (optional) Smart Values of Jira Automation

      1. Current Month: {{now.format("MMM")}}

      2. Current Year: {{now.format("yyyy")}}

        Payload Month.png
  2. Create Automation Rule

    1. Trigger: Scheduled

    2. Schedule details: the last day of the month

    3. Action: Send Web Request

    4. Use Web Request URL specified in the Template’s automation settings

    5. HTTP method: POST

    6. Web Request Body: Custom Data

    7. Use Payload as Custom data copied from the Template’s automation settings
      Code:

      JSON
      {
        "operation": "create-issues",
        "projectId": "{{project.id}}",
        "variableValues": {
          "month": "{{now.format("MMM")}}",
          "year": "{{now.format("yyyy")}}"
        }
      }

      Automation Month.png
  3. Test Automation Rule

    Month Closire Tickets.png
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.