-
-
Notifications
You must be signed in to change notification settings - Fork 878
Closed
Labels
Milestone
Description
Describe the bug
The integration page has a table with the jobs associated with the integration. In that table only jobs that use the integration inside the run function appear. If you are just using the integration for a trigger, it won't appear in the table.
To reproduce
- Create this Job
//you'll need to import the client from whichever file you created it in
import { Github, events } from "@trigger.dev/github";
const github = new Github({ id: "github" });
// Sends a Slack message to a channel if a GitHub issue is left open for 24 hours
client.defineJob({
id: "github-new-issue-reminder",
name: "GitHub: new issue reminder",
version: "1.0.0",
trigger: github.triggers.repo({
event: events.onIssueOpened,
owner: "<your-org-name>",
repo: "<your-repo-name>",
}),
run: async (payload, io, ctx) => {
},
});
- Make sure this Job code is run, by importing into the jobs index file, or importing into the api/trigger route.
- Run the site and the CLI dev command
- Got to the integrations page and connect to the GitHub integration
- Now click through from that page to the GItHub integration page, note how the Table doesn't show any Jobs.

From SyncLinear.com | TRI-1357