emdash icon indicating copy to clipboard operation
emdash copied to clipboard

[feat]: Sync linked issue status from Emdash task/PR lifecycle

Open maxonary opened this issue 6 months ago • 4 comments

Feature Summary

I often link Emdash tasks to external issues, but the linked issue stays stale as work progresses.

For example, when I create an Emdash task from a Featurebase post and later open or merge a PR, I still need to manually go back to Featurebase and move the post from Planned to In Progress or Completed. The same problem exists for Linear, Jira, GitHub, GitLab, and Forgejo workflows.

This creates duplicate status tracking: Emdash knows the task/PR state, but the source issue tracker does not get updated.

Problem or Use Case

Add optional linked-issue status sync.

In settings, users should be able to enable issue status sync and configure mappings from Emdash task/PR lifecycle states to provider-specific statuses.

Example mapping for Featurebase:

  • task started or PR opened → In Progress
  • PR ready for review → In Progress or Planned, depending on user preference
  • PR merged → Completed
  • task cancelled/closed → Rejected

The UX could live in the integrations/settings area:

  • global toggle: Enable linked issue status sync
  • per-provider capability display
  • per-provider status mapping controls
  • clear non-blocking error feedback when sync fails

The feature should integrate with existing linked issue behavior. Providers that support status updates should opt in through provider capability metadata. Unsupported providers should remain read-only and should not show unavailable controls.

Proposed Solution

I currently work around this by manually updating the linked issue in Featurebase/Linear/ Jira/etc. after creating tasks, opening PRs, and merging PRs.

Another workaround would be automation outside Emdash, but that requires separate scripts or third-party automation for each provider. Since Emdash already knows the linked issue, task state, and PR state, it seems like the right place to coordinate this.

Alternatives Considered

I currently work around this by manually updating the linked issue in Featurebase/Linear/ Jira/etc. after creating tasks, opening PRs, and merging PRs.

Another workaround would be automation outside Emdash, but that requires separate scripts or third-party automation for each provider. Since Emdash already knows the linked issue, task state, and PR state, it seems like the right place to coordinate this.

Additional Context

This would be especially useful for the new Featurebase integration, where posts commonly move through statuses like Planned, In Progress, Completed, and Rejected.

A good implementation could start with Featurebase only, then expand to other providers behind capability flags such as canUpdateIssueStatus.

maxonary avatar May 08 '26 06:05 maxonary

@maxonary, it should work for Linear already - but not for the others yet, and also not for Featurebase.

Have you tested it with Linear?

arnestrickmann avatar May 09 '26 00:05 arnestrickmann

Will have to give linear a try @arnestrickmann

maxonary avatar May 09 '26 20:05 maxonary

you mean automatically updaten the status, right? @maxonary i dont think we do that rn (for any provider). we display if the issue is linked to an agent in emdash, dont think we update anything

janburzinski avatar May 10 '26 14:05 janburzinski

Whats the status of this integration? I am considering using Emdash and really want this.

everscending avatar Jul 23 '26 11:07 everscending