AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

How to Configure Two-Way Sync Between Motion and Jira

王偉翔 · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

If you open Motion looking for a native, one-click toggle to sync Jira tickets, stop clicking through the settings menu. It does not exist.

Motion natively connects to calendars—Google Calendar, Microsoft Outlook, iCloud—and video conferencing tools. When it comes to engineering issue trackers like Jira, ClickUp, or Linear, Motion offers no out-of-the-box bidirectional bridge. You cannot simply authenticate Jira inside Motion and expect sprint backlogs to automatically populate your team’s calendars.

At 365Finds, we see product and engineering teams fall into this trap constantly. They want Jira for sprint governance and Motion for AI-driven time-blocking. To get them talking to each other, you must build the connection yourself. But how you architect this synchronization makes the difference between an effortless schedule and an operational disaster.

Here is 365Finds' complete implementation blueprint for configuring two-way synchronization between Motion and Jira, including the exact field mappings, loop-prevention safeguards, and API constraints you must enforce.


365Finds’ Core Architectural Rule: Asymmetric Synchronization Only

Before setting up a single webhook or automation scenario, you must accept one operational boundary: do not attempt symmetric, 1:1 bidirectional mirroring between Jira and Motion.

Jira is a complex issue-tracking database built for sprint workflows, epics, transitions, and compliance. Motion is a personal and team time-orchestration engine that treats work as flexible blocks of calendar time. If you attempt to sync every comment, subtask, priority change, and timestamp back and forth, you will hit Motion’s API rate limits, trigger webhook loops, and confuse your team.

We at 365Finds strongly advocate for Asymmetric Two-Way Sync:

  1. Inbound to Motion (Scheduling): Jira pushes assigned issues into Motion as auto-scheduled tasks with estimated durations and hard deadlines.
  2. Outbound to Jira (Status Closure): Motion informs Jira when a task is completed or moved to review, transitioning the Jira issue status without touching ticket descriptions or agile metadata.
+---------------+                              +---------------+
|               |  1. Issue Assigned / Sprint   |               |
|  Jira Cloud   | ---------------------------> |    Motion     |
|  (Source of   |      (Creates Task)          | (AI Calendar  |
|   Truth)      | <--------------------------- |   Scheduler)  |
|               |  2. Task Marked "Completed"  |               |
+---------------+    (Transitions Ticket)      +---------------+

Prerequisites and Loop Prevention Safeguards

Any bidirectional integration between two systems risks an infinite ping-pong loop: Jira updates Motion, Motion detects the update and notifies Jira, Jira updates Motion again, until your automation quotas explode.

To prevent this, implement these two safeguards before configuring triggers:

  1. Dual ID Mapping:
    • Create a custom Jira text field named Motion Task ID.
    • When creating a task in Motion, write the Jira Issue Key (e.g., ENG-402) directly into the Motion task name or description prefix: [ENG-402] Refactor auth middleware.
  2. Author and Status Filters:
    • In Jira, run automations under a dedicated integration user (e.g., Motion-Bot).
    • Add a filter condition on all Jira triggers: Initiator != Motion-Bot.
    • Add a guard condition in Motion: only trigger an outbound update when the status transitions to Completed.

Method 1: The No-Code Implementation (Zapier or Make.com)

For most teams, automation middleware like Make or Zapier is the cleanest route to deploy and maintain. Below is the step-by-step logic.

Flow A: Jira to Motion (Inbound Intake)

  1. Trigger: Set Jira Cloud as the trigger app.
    • Event: Issue Updated (or New Issue Created).
    • JQL Filter: project = "ENG" AND assignee = currentUser() AND status in ("To Do", "In Progress") AND sprint in openSprints()
    • Why this matters: Do not dump your entire Jira backlog into Motion. Only pull active sprint items assigned to a specific human.
  2. Data Transformation (Duration Calculation):
    • Jira stores estimates in seconds (timeoriginalestimate), while Motion’s API expects duration in minutes.
    • Formula: duration = timeoriginalestimate / 60. If the Jira ticket has no estimate, apply a fallback default of 60 minutes.
  3. Action: Select Motion (UseMotion).
    • Event: Create Task.
    • Field Mappings:
      • Name: [{{Jira.Key}}] {{Jira.Summary}}
      • Workspace ID: Select your designated team workspace.
      • Due Date: Map Jira’s duedate formatted as ISO-8601 (YYYY-MM-DDTHH:mm:ss.sssZ). If null, default to the current sprint end date.
      • Duration: Calculated minutes from Step 2.
      • Auto Scheduled: true.
      • Priority: Map Jira priorities: Highest $\rightarrow$ ASAP, High $\rightarrow$ HIGH, Medium $\rightarrow$ MEDIUM, Low $\rightarrow$ LOW.
      • Description: Include a direct markdown link: [Open in Jira]({{Jira.URL}}) \n\n {{Jira.Description}}.
  4. Post-Action (Writeback ID):
    • Add a final Jira action: Update Issue. Store Motion’s returned task.id into your Jira custom field Motion Task ID.

Flow B: Motion to Jira (Outbound Status Sync)

  1. Trigger: Select Motion as the trigger app.
    • Event: Task Completed (or polling task updates where status equals finished).
  2. Filter:
    • Continue only if Motion.Task.Name contains a valid Jira key pattern ([A-Z]+-[0-9]+).
  3. Data Extraction:
    • Use regex or text extraction to isolate the Jira issue key (e.g., ENG-402) from the Motion task title or description.
  4. Action: Select Jira Cloud.
    • Event: Transition Issue.
    • Issue: Extracted Jira Key.
    • Transition: Select your workflow transition (e.g., Done, In Review, or Resolved).

Method 2: The Direct REST API & Webhook Implementation

If your engineering organization requires low-latency updates or handles high volume that exceeds Zapier tier caps, deploy a lightweight webhook receiver (e.g., Cloudflare Workers, AWS Lambda, or a Node.js microservice).

1. Motion API Authentication

Generate your API key in Motion under Settings $\rightarrow$ API. Motion uses a header-based key:

X-API-Key: your_motion_api_key_here
Content-Type: application/json

2. Inbound Jira Webhook Handler

Configure a Jira webhook pointing to your endpoint triggered on jira:issue_updated. When the assignee changes to your monitored developer:

// Sample Node.js payload to Motion REST API
const motionPayload = {
  name: `[${jiraIssue.key}] ${jiraIssue.fields.summary}`,
  workspaceId: process.env.MOTION_WORKSPACE_ID,
  dueDate: jiraIssue.fields.duedate ? new Date(jiraIssue.fields.duedate).toISOString() : fallbackSprintEnd(),
  duration: jiraIssue.fields.timeoriginalestimate ? Math.round(jiraIssue.fields.timeoriginalestimate / 60) : 60,
  deadlineType: "HARD",
  schedule: "Work Hours",
  autoScheduled: {},
  priority: mapJiraPriority(jiraIssue.fields.priority.name),
  description: `Ticket: ${jiraIssue.self}\n\n${jiraIssue.fields.description || ''}`
};

const response = await fetch("https://api.usemotion.com/v1/tasks", {
  method: "POST",
  headers: {
    "X-API-Key": process.env.MOTION_API_KEY,
    "Content-Type": "application/json"
  },
  body: JSON.stringify(motionPayload)
});

3. Outbound Webhook or Polling

Because Motion’s webhooks are more restricted than Jira’s, most custom implementations run a scheduled lightweight polling cron (every 5 to 10 minutes) against GET https://api.usemotion.com/v1/tasks filtering by completed status, or rely on automation triggers to hit Jira's REST API:

POST /rest/api/3/issue/ENG-402/transitions
Host: your-domain.atlassian.net
Authorization: Basic <base64_encoded_credentials>
Content-Type: application/json

{
  "transition": {
    "id": "31" // ID corresponding to "Done" in Jira workflow
  }
}

Technical Constraints and Operational Realities

When deploying this bridge, 365Finds highlights three technical realities that will surface in production:

DimensionJira CloudMotionSync Implication
API Rate LimitsHigh enterprise quotas (thousands/min)Strict: 12 req/min (Individual), 120 req/min (Team)You must throttle batch imports. Never bulk-sync an entire backlog into Motion in a single loop.
Time UnitsSeconds (timeoriginalestimate)Minutes (duration)Always convert seconds to minutes (seconds / 60). Non-numeric values cause API 400 Bad Request.
Calendar RealityStatic due date / Sprint windowDynamic, moving AI calendar blocksDo not sync Motion's auto-scheduled calendar time slots back to Jira. Let Motion shuffle the time blocks internally.

Motion’s value lies entirely in its scheduling algorithm rearranging blocks on a personal calendar based on meeting conflicts. Jira’s value lies in team-level sprint visibility. Keeping the sync asymmetric preserves both without engineering fragile integrations.

References