This automation rule will create a roadmap item on your LaunchNotes account when you create an epic (or whatever issue type you'd like to use), in Jira. In order to set this up, you'll need the following information from your LaunchNotes account:

  1. Your project ID

  2. Your management API token

  3. Your preferred starting stage ID

Jira Setup

In Jira, go to Project Settings > Apps > Project automation > Rules > Create rule:

  • New Trigger: When: Issue created

  • New condition: Issue fields condition

    • Field: Issue Type

    • Condition: Equals

    • Value: Epic

  • Add Component:

New action: Send web request

"query":"mutation createWorkItem (\n $name: String!\n $stageId: ID!\n $categories: [CategoryAttributes!]\n $contentJira: String\n) {\n createWorkItem(input: {\n workItem: {\n name: $name,\n stageId: $stageId,\n categories: $categories,\n contentJira: $contentJira\n }\n}){\n workItem {\n id\n}\n}\n}",

  • Select Wait for response ✅ "Delay execution of subsequent rule actions until we've received a response for this webhook"

Example screenshot:

Now this is set up, the next step is to identify and attach the LaunchNotes roadmap work item ID to your Epic, once it has been created in LaunchNotes created via the Jira Automation.

Continue adding to the rule:

Test this out by creating a New Epic in Jira. Now when this is saved out, the field launch_notes_work_item_id should be populated with the LaunchNotes roadmap work item ID:

Did this answer your question?