Feature · Library
Examples
Reuse approved examples and review proposed procedures.
How it works
Approved examples
An example is a pull request description, commit message, review reply, code snippet or status report that a person approved. Workers use examples as style references. Nothing becomes an example without a person. An approver selects Add example. Open an example to Pin to the top, Unpin or Remove it. An example applies to the organization, a project, or just you.
Procedures
When workers repeat the same tool sequence, Crewshal proposes it as a procedure. Open a proposed procedure with Review and read its steps and tests. Select Approve version with its number (for example Approve version 2), then Approve and allow it to run. Reject retires the procedure. After a number of failing runs, Crewshal pauses a procedure until someone approves it again. An admin sets Repeats before proposing and Failing runs before pausing in More actions (⋯), Procedure settings.
From the help article Examples and procedures, checked against the product on .
What you can do
The operations this feature's screens call. Each one is POST /api/<name>, and the badge says who may call it.
ViewerlistProceduresLists procedures.
Types:
ListProceduresRequestreturnsListResponse<ProcedureDto>
AdminlearnProceduresLearns procedures.
Types:
EmptyRequestreturnsLearnProceduresResponse
ViewerlistApprovedExamplesLists approved examples.
Types:
ListApprovedExamplesRequestreturnsListResponse<ApprovedExampleDto>
ApproverNo API tokenspinExamplePins the example.
Types:
PinExampleRequestreturnsApprovedExampleDto
ApproverNo API tokensremoveExampleRemoves the example.
Types:
RemoveExampleRequestreturnsApprovedExampleDto
ApproverNo API tokensapproveExampleApproves the example.
Types:
ApproveExampleRequestreturnsApprovedExampleDto
ApproverNo API tokensreviewProcedureReviews the procedure.
Types:
ReviewProcedureRequestreturnsProcedureDto
ViewergetProcedureSettingsGets procedure settings.
Types:
EmptyRequestreturnsProcedureSettingsDto
AdminNo API tokensupdateProcedureSettingsUpdates procedure settings.
Types:
UpdateProcedureSettingsRequestreturnsProcedureSettingsDto
ViewerlistWorkItemsLists work items.
Types:
ListWorkItemsRequestreturnsPageResponse<WorkItemSummary>