All Collections
Integrations
Jira Integration
Automate the deletion of a LaunchNotes roadmap Item when an issue is deleted in Jira
Automate the deletion of a LaunchNotes roadmap Item when an issue is deleted in Jira

How to automate the deletion of roadmap Items in LaunchNotes when an epic/issue is deleted in Jira

Michael Simmons avatar
Written by Michael Simmons
Updated over a week ago

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


Jira Setup

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

  • New Trigger: When: Issue deleted

  • New condition: Issue fields condition

    • Field: Issue Type

    • Condition: Equals

    • Value: Epic

  • New Condition: Issue fields condition

    • Field: launchnotes_work_item_id

    • Condition: Is not empty

  • New action: Send web request

{
"query": "mutation archiveWorkItem ($id: ID!){archiveWorkItem(input: {id: $id}) {workItem {id}}}",
"variables": {
"id": "{{issue.launch_notes_work_item_id}}"
}
}

Example Screenshot:

Did this answer your question?