Comments (1)
Hey again! We chatted in ZenDesk, but I wanted to make sure there was follow up here as well.
The VCS entities like repository, branch, commit, and pull request aren't currently publicly accessible. There's a significant amount of logic around what happens when those entities are associated with a Story; we might never expose those endpoints, and instead build out more options for the integration internally. It doesn't hurt to ask though!
You may be able to do a fair bit of what you're after by taking advantage of the different ways the existing GitHub integration can associate work to Stories, and Github's API.
Using the Story ID in one of the ways that Clubhouse is listening for is going to be your best bet for the initial association.
For things like automatically creating stories when someone creates a PR against certain repos, you might use GitHub's webhooks to listen for the PR creation, and use the Story endpoint to create a new Story based on that PR.
Then, with the returned new Story details, grab the Story ID and use GitHib's Issue Comments endpoint to add bracketed text [ch###], where ### is the Story ID, as a comment on the PR. If Clubhouse's Github integration is on, and the webhook was already added to the repository in Github, Clubhouse should associate the PR with the Story in the comment.
Between the two, there's a lot of ways to customize a workflow!
from shortcut-client-js.
Related Issues (20)
- Type StoryChange does not include new external_links property
- `external_tickets` is no longer a valid field
- Search by Pull Request HOT 4
- Any guidance on using File Upload? HOT 3
- Migrate to Shortcut HOT 1
- Add support for Get-Workflow HOT 1
- 🚀 Complete rewrite for v1 HOT 2
- How to get the org-public-id needed for Get/List Member? HOT 1
- Missing implementation for Product Area and Skill Set HOT 3
- CORS Header ‘Access-Control-Allow-Origin’ Missing Error
- Paginator
- Error: Error: Response for preflight has invalid HTTP status code 401(Solved)
- Swagger schema issue HOT 1
- listStories does not include the `description` field. HOT 3
- external_id param missing from StoryChange type HOT 1
- Stories do not have `external_links` typed HOT 2
- fetch-everywhere dependency causing npm audit failure HOT 1
- New release ? HOT 3
- Missing external_links field on type "Story" HOT 2
- deleteStoryComment throws error on 204 No Content
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shortcut-client-js.