Bentley Systems · Arazzo Workflow

Bentley File an Issue With an Attachment and Comment

Version 1.0.0

Create an issue, attach supporting media, and post an initial comment.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Infrastructure EngineeringDigital TwinBIMCADReality CaptureConstructionAsset ManagementGeospatialiTwiniModelArazzoWorkflows

Provider

bentley-systems

Workflows

file-issue
Create an issue, then add an attachment and an initial comment.
Creates an issue, attaches a supporting file to it, and posts an opening comment with context.
3 steps inputs: attachment, commentText, issue outputs: attachmentId, commentId, issueId
1
createIssue
Create the issue. The returned issue id anchors the attachment and comment that follow.
2
addAttachment
Attach a supporting file to the issue so reviewers can see the evidence behind the report.
3
addComment
Post an opening comment on the issue describing the finding and any immediate context.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Bentley File an Issue With an Attachment and Comment
  summary: Create an issue, attach supporting media, and post an initial comment.
  description: >-
    Field issues — observations, defects, RFIs, and punch-list items — are most
    useful when they carry evidence and context. This workflow creates an issue,
    attaches a supporting file (such as a site photo) to it, and posts an initial
    comment describing the finding. Each step spells out its request inline so the
    flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: attachmentsApi
  url: ../openapi/bentley-systems-attachments-api-openapi.yml
  type: openapi
- name: commentsApi
  url: ../openapi/bentley-systems-comments-api-openapi.yml
  type: openapi
- name: issuesApi
  url: ../openapi/bentley-systems-issues-api-openapi.yml
  type: openapi
workflows:
- workflowId: file-issue
  summary: Create an issue, then add an attachment and an initial comment.
  description: >-
    Creates an issue, attaches a supporting file to it, and posts an opening
    comment with context.
  inputs:
    type: object
    required:
    - issue
    properties:
      issue:
        type: object
        description: The issue creation payload (e.g. type, subject, description, iTwinId).
      attachment:
        type: object
        description: The attachment metadata payload (e.g. fileName, caption, binaryUrl).
      commentText:
        type: string
        description: The text of the opening comment to post on the issue.
  steps:
  - stepId: createIssue
    description: >-
      Create the issue. The returned issue id anchors the attachment and comment
      that follow.
    operationId: CreateIssue
    requestBody:
      contentType: application/json
      payload: $inputs.issue
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      issueId: $response.body#/issue/id
  - stepId: addAttachment
    description: >-
      Attach a supporting file to the issue so reviewers can see the evidence
      behind the report.
    operationId: CreateAttachment
    parameters:
    - name: issueId
      in: path
      value: $steps.createIssue.outputs.issueId
    requestBody:
      contentType: application/json
      payload: $inputs.attachment
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      attachmentId: $response.body#/attachment/id
  - stepId: addComment
    description: >-
      Post an opening comment on the issue describing the finding and any
      immediate context.
    operationId: CreateComment
    parameters:
    - name: issueId
      in: path
      value: $steps.createIssue.outputs.issueId
    requestBody:
      contentType: application/json
      payload:
        text: $inputs.commentText
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      commentId: $response.body#/comment/id
  outputs:
    issueId: $steps.createIssue.outputs.issueId
    attachmentId: $steps.addAttachment.outputs.attachmentId
    commentId: $steps.addComment.outputs.commentId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/bentley-systems-file-issue-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.