Keep Asana, Jira and Slack current when an approved decision changes the work: options
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- backend-api-design
Research direction
Read #286, #169, #120, and docs/agents.md to understand the existing Jira, Slack source, assumption propagation, and agent token flows. The recommendation is to add external links to tasks first, then test the assistant driven path with the first trial teams' tools. Done means approved changes can identify affected tasks and offer a reviewed update through the person's assistant; the issue leaves the tool, update format, and confirmation authority open.
Written by the indexing model from the issue text.
Description
Problem
teamctx records a team's decisions, rules and assumptions, and can show which decisions and tasks rest on an assumption. But a team's tasks live in a tracker such as Asana or Jira, and the signals that change them (a key customer's comment, a message) arrive in Slack. When an approved change touches the work, nothing carries it into those tools, and nothing brings their updates in except a person's assistant reading them and sending them over by hand.
The goal is for the approved version to stay the one thing everyone works from, while the tracker stays where the work is tracked. It must not turn teamctx into a second tracker.
What works today
- A Slack thread can be a connected source (#169): an assistant reads it with its own Slack connection and sends it in, and teamctx records the link and a summary, never the messages or the token. The
sourcesinput also accepts "another" tool, but only Slack, Notion, Drive, SharePoint, Dropbox and Coda have been exercised. - A job or agent with a manager-issued token can read what it is assigned, send work back for review (always reviewed), and close its own tasks (
docs/agents.md). That is an inbound path for an automation platform today. - Marking an assumption as broken walks
restsOnand lists the decisions and tasks that rest on it (#120). - Slack gets a notice when something is waiting for approval. That is the only outbound event, and it is Slack-specific.
What does not exist
- No connection to Asana. Jira is only the parked #286 (a one-way read in a member's brief as the first version).
- No generic outbound event when something is approved or flagged.
- No stored link between a teamctx task and a ticket in another tool.
Two directions
- In: an update in a tool (a ticket moved, a customer comment) reaches teamctx as a proposal. It always goes to review, so a tool can never change what the team treats as true.
- Out: an approved change that touches tasks reaches the tracker or a channel, so the people there see it.
Options
A. Through the person's assistant, no credentials stored. The assistant uses its own Asana, Jira or Slack connection.
- In: it reads the ticket or thread and sends it as a source.
- Out: after an approval, the result lists the tasks that are now flagged, and the assistant offers to update the matching tickets through its own connection, with the person confirming.
- Needs: an external reference on a task (system, id, link), the flagged-task list in the approval result, assistant instructions, and a check that Asana and Jira work as sources.
- Pros: teamctx stores nothing, which fits the data-ownership principle. Little code. Works with any tool that has a connector.
- Cons: only when the person's assistant has that connector and a person is in the loop. Nothing is unattended. Behaviour varies by client.
B. An automation platform in the middle. n8n (open source), Make or Zapier connect teamctx and the tools.
- Out: teamctx sends a signed event when an item is approved or flagged. The automation updates Asana, Jira or Slack.
- In: the automation uses an agent token (exists today) to send proposals.
- Needs: a generic outbound event (new), a signing scheme, and recipes in the docs.
- Pros: unattended, covers many tools, and teamctx still holds no tool credentials.
- Cons: a manager has to set up the automation. The event becomes a contract once people depend on it. The payload should carry ids and links, not team content.
C. A direct integration. teamctx connects to Asana or Jira itself, with a two-way sync.
- Pros: the smoothest experience.
- Cons: teamctx would hold tool credentials, the thing the last security release worked to reduce. It needs a rule for which side wins, per-tool upkeep and rate-limit handling. This is #286's route.
D. Links only. Allow an external link on a task or a record and show it in the member's brief. It is the smallest piece and the first step of A.
Recommendation
Do D, then A, and test them with the tools the first trial teams actually use. Add B's outbound event only when someone needs unattended updates. Keep C parked under #286.
Open questions
- What does a flagged task look like in a ticket: a comment, a label or a status change? A comment is the least surprising.
- Which tool first: Asana, Jira, or whichever the first trial team uses?
- How much does an outbound event carry? Proposed: ids, titles and a link only.
- Who is allowed to confirm an update in a tool: the person whose assistant ran it, or only the manager?
Existing open source first
Checked and recommended: n8n (open source, self-hostable) for B's automations, Standard Webhooks (standardwebhooks.com) for the signing format instead of inventing one, Nango for OAuth if C is ever built (already named in #286), and jira.js for a Jira client. Assistants already have vendor connectors for Asana and Slack, which A relies on instead of a teamctx client. What only teamctx should build: which approved change touches which tasks (the restsOn walk), what to carry out, and the review gate that keeps a tool from changing what the team treats as true.
Related: #286, #169, #120, docs/agents.md.
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 2
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 62
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from StatsLateral/teamctx
-
Sign-in page: label GitHub as for Team Managers and Google as for Team MembersPossibly taken @StatsLateral claimed this today. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
StatsLateral/teamctx#343 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
StatsLateral/teamctx#342 ·
Maintainers usually reply within 1 day
-
enhancement parked
Difficulty 5/5 Over a week Newbie friendliness 35/100
StatsLateral/teamctx#341 ·
Maintainers usually reply within 1 day
-
Let a manager delete a task before anyone has worked on it, and archive it afterPossibly taken @satyagyasingh claimed this 14 days ago. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
StatsLateral/teamctx#320 ·
Maintainers usually reply within 1 day
-
enhancement parked
Difficulty 5/5 Over a week Newbie friendliness 35/100
StatsLateral/teamctx#286 ·
Maintainers usually reply within 1 day
All issues in StatsLateral/teamctx
Similar issues
-
Entity picker filter keeps the first kind's groups after switching Specific Term / Specific PostOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
davidofchatham/bws-gb-dynamic-tags-extensions#177 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
ioBroker/ioBroker.zigbee#3069 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
has-image has-license has-readme new-tool ready-to-approve repo-verified
Difficulty 1/5 Under an hour Newbie friendliness 78/100
shanselman/TinyToolTown#957 ·
Maintainers usually reply within 2 days
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ionic-team/capacitor#8759 ·
Maintainers usually reply within 1 day