Types
Every object the API takes or returns. The makeworlds package exports each as a TypeScript type of the same name.
Worlds
World
A world: private copies of the services your app talks to, with their URLs.
| Field | Type | Description |
|---|---|---|
id | string | Example: "world_k2v9x0q1m4" |
name | string | Example: "Thread routing eval" |
team_id | string | Example: "team_k2v9x0q1m4s7d8f3a6b5" |
created_by | string | null | Id of the user who created the world. null when an API key created it. |
ui_url | string (uri) | The world's main page: the UI of its first service. Each service's own URLs are under its name. Example: "https://k2v9x0q1m4-slack.makeworlds.dev/" |
services | WorldService[] | The services in this world, each with its UI. |
slack | SlackUrls | null when the world has no Slack. |
jira | JiraUrls | null when the world has no Jira. |
created_at | string (date-time) | |
updated_at | string (date-time) |
WorldService
A service in a world.
| Field | Type | Description |
|---|---|---|
name | "slack" | "jira" | |
title | string | Example: "Slack" |
ui_url | string (uri) | The service's UI in this world. |
WorldCreate
A new world. Give a spec for each service it should have.
| Field | Type | Description |
|---|---|---|
name | string | 1 to 80 characters. Example: "Thread routing eval" |
slack optional | SlackSpec | Everything in the world's Slack workspace. Omitted ids, credentials and tokens are generated. Leave it out to create the world without Slack. |
jira optional | JiraSpec | Everything in the world's Jira site. Omitted ids and credentials are generated. Leave it out to create the world without Jira. |
WorldCreated
A new world, with each service's URLs and effective spec.
| Field | Type | Description |
|---|---|---|
id | string | Example: "world_k2v9x0q1m4" |
name | string | Example: "Thread routing eval" |
team_id | string | Example: "team_k2v9x0q1m4s7d8f3a6b5" |
created_by | string | null | Id of the user who created the world. null when an API key created it. |
ui_url | string (uri) | The world's main page: the UI of its first service. Each service's own URLs are under its name. Example: "https://k2v9x0q1m4-slack.makeworlds.dev/" |
services | WorldService[] | The services in this world, each with its UI. |
slack | SlackCreated | null when the world has no Slack. |
jira | JiraCreated | null when the world has no Jira. |
created_at | string (date-time) | |
updated_at | string (date-time) |
WorldSpec
Each service's spec, or null for a service the world was created without.
| Field | Type | Description |
|---|---|---|
slack | object | |
jira | object |
Team
A team. Worlds and API keys belong to a team.
| Field | Type | Description |
|---|---|---|
id | string | Example: "team_k2v9x0q1m4s7d8f3a6b5" |
name | string | Example: "Empirical" |
role | "owner" | "member" | null | Your role in the team. null when the request is authenticated with an API key, which belongs to the team rather than a person. |
created_at | string (date-time) | |
updated_at | string (date-time) |
TeamDetail
A team with its members.
| Field | Type | Description |
|---|---|---|
id | string | Example: "team_k2v9x0q1m4s7d8f3a6b5" |
name | string | Example: "Empirical" |
role | "owner" | "member" | null | Your role in the team. null when the request is authenticated with an API key, which belongs to the team rather than a person. |
created_at | string (date-time) | |
updated_at | string (date-time) | |
members | Member[] |
Member
A person in a team.
| Field | Type | Description |
|---|---|---|
id | string | Example: "user_p0r7w2c9n5h1j4k8l3m6" |
email | string (email) | |
name | string | null | |
role | "owner" | "member" |
TeamUpdate
New values for a team.
| Field | Type | Description |
|---|---|---|
name | string | 1 to 80 characters. Example: "Empirical" |
ApiKey
An API key. The secret itself is shown only when the key is created.
| Field | Type | Description |
|---|---|---|
id | string | Example: "key_w2rh3pmnhl1pe2wjxgqs" |
name | string | Example: "CI" |
prefix | string | The first characters of the secret, to tell keys apart. Example: "wk_live_4fQ9zT" |
created_by | string | null | Id of the user who created the key. |
created_at | string (date-time) | |
updated_at | string (date-time) | |
last_used_at | string (date-time) | null |
ApiKeyCreate
A new API key.
| Field | Type | Description |
|---|---|---|
name | string | 1 to 80 characters. Example: "CI" |
ApiKeyCreated
A new API key with its secret.
| Field | Type | Description |
|---|---|---|
id | string | Example: "key_w2rh3pmnhl1pe2wjxgqs" |
name | string | Example: "CI" |
prefix | string | The first characters of the secret, to tell keys apart. Example: "wk_live_4fQ9zT" |
created_by | string | null | Id of the user who created the key. |
created_at | string (date-time) | |
updated_at | string (date-time) | |
last_used_at | string (date-time) | null | |
secret | string | The key itself. Shown only in this response. Example: "wk_live_4fQ9zTb1Lx7mKc2RyV8nHs0dWq5ePj3uGa6oNi9E" |
ApiError
Every error response from the API and world controls.
| Field | Type | Description |
|---|---|---|
error | ApiErrorDetail | What went wrong. |
ApiErrorDetail
What went wrong.
| Field | Type | Description |
|---|---|---|
code | string | Stable, for code to match on. Example: "not_found" |
message | string | For people; may change. Example: "No team with that id is visible to you." |
Slack
SlackUrls
null when the world has no Slack.
| Field | Type | Description |
|---|---|---|
api_url | string (uri) | Use as the Slack Web API base URL, e.g. slackApiUrl in @slack/web-api. Example: "https://k2v9x0q1m4-slack.makeworlds.dev/api/" |
oauth_authorize_url | string (uri) | Send users here instead of slack.com/oauth/v2/authorize to install your app. Example: "https://k2v9x0q1m4-slack.makeworlds.dev/oauth/v2/authorize" |
ui_url | string (uri) | The world's Slack UI. Example: "https://k2v9x0q1m4-slack.makeworlds.dev/" |
SlackSpec
Everything in the world's Slack workspace. Omitted ids, credentials and tokens are generated. Leave it out to create the world without Slack.
| Field | Type | Description |
|---|---|---|
team | SlackTeamSpec | The world's Slack workspace. |
users optional | SlackUserSpec[] | |
channels optional | SlackChannelSpec[] | |
apps optional | SlackAppSpec[] |
SlackTeamSpec
The world's Slack workspace.
| Field | Type | Description |
|---|---|---|
id optional | string | Pin the team id, e.g. to match installs your app already stored. Generated if left out. Example: "T0ACME00001" |
name | string | The workspace name. 1 to 80 characters. Example: "Acme" |
domain | string | The workspace subdomain. Example: "acme" |
SlackUserSpec
A person in the workspace.
| Field | Type | Description |
|---|---|---|
id optional | string | Example: "U0ALICE00001" |
name | string | Example: "alice" |
real_name | string | 1 to 200 characters. Example: "Alice Tester" |
email | string (email) | Example: "alice@acme.test" |
token optional | string | Pin the user's token, to act as them with any Slack client. |
SlackChannelSpec
A channel, its members and its first messages.
| Field | Type | Description |
|---|---|---|
id optional | string | Example: "C0GENERAL001" |
name | string | Example: "general" |
private optional | boolean | |
topic optional | string | Up to 250 characters. |
members | string[] | User names or ids. The first member created the channel. |
messages optional | SlackMessageSpec[] | Posted in order before any app is installed, so they send no events. |
SlackMessageSpec
A message posted when the world is created.
| Field | Type | Description |
|---|---|---|
user | string | A user's name or id. Example: "alice" |
text | string | Up to 40000 characters. Example: "Deploy failed on main, can someone look?" |
replies optional | SlackReplySpec[] |
SlackReplySpec
A reply in the message's thread.
| Field | Type | Description |
|---|---|---|
user | string | A user's name or id. Example: "alice" |
text | string | Up to 40000 characters. Example: "Looking now." |
SlackAppSpec
A Slack app, defined by its manifest.
| Field | Type | Description |
|---|---|---|
manifest | SlackManifest | A Slack app manifest (JSON). Its redirect_urls, scopes, event_subscriptions and interactivity apply in this world. Example: {"display_information":{"name":"My app"},"features":{"bot_user":{"display_name":"my-app"}},"oauth_config":{"scopes":{"bot":["app_mentions:read","chat:write","channels:history"]}},"settings":{"event_subscriptions":{"request_url":"https://example.com/slack/events","bot_events":["app_mention"]}}} |
credentials optional | SlackCredentialsSpec | Pin some or all credentials, e.g. to match secrets your app already has. Real Slack generates them; worlds lets you choose. |
install optional | SlackInstallSpec | Install the app into the world's workspace. |
SlackManifest
A Slack app manifest (JSON). Its redirect_urls, scopes, event_subscriptions and interactivity apply in this world.
| Field | Type | Description |
|---|---|---|
display_information | SlackManifestDisplayInformation | How the app shows in Slack. |
features optional | SlackManifestFeatures | The app's features. |
oauth_config optional | SlackManifestOAuthConfig | How the app is installed over OAuth. |
settings optional | SlackManifestSettings | Events and interactivity settings. |
SlackManifestDisplayInformation
How the app shows in Slack.
| Field | Type | Description |
|---|---|---|
name | string | |
description optional | string |
SlackManifestFeatures
The app's features.
| Field | Type | Description |
|---|---|---|
bot_user optional | SlackManifestBotUser | The app's bot user. |
SlackManifestBotUser
The app's bot user.
| Field | Type | Description |
|---|---|---|
display_name optional | string | |
always_online optional | boolean |
SlackManifestOAuthConfig
How the app is installed over OAuth.
| Field | Type | Description |
|---|---|---|
redirect_urls optional | string[] | Allowed redirect_uri prefixes. A * in the host matches one label. |
scopes optional | SlackManifestScopes | OAuth scopes the app asks for. |
SlackManifestScopes
OAuth scopes the app asks for.
| Field | Type | Description |
|---|---|---|
bot optional | string[] | |
user optional | string[] |
SlackManifestSettings
Events and interactivity settings.
| Field | Type | Description |
|---|---|---|
event_subscriptions optional | SlackManifestEventSubscriptions | The Events API subscription. |
interactivity optional | SlackManifestInteractivity | Where the world posts interactive payloads. |
SlackManifestEventSubscriptions
The Events API subscription.
| Field | Type | Description |
|---|---|---|
request_url optional | string (uri) | Where the world posts events. |
bot_events optional | string[] | Event types to send, such as app_mention. |
SlackManifestInteractivity
Where the world posts interactive payloads.
| Field | Type | Description |
|---|---|---|
is_enabled optional | boolean | |
request_url optional | string (uri) |
SlackCredentialsSpec
Pin some or all credentials, e.g. to match secrets your app already has. Real Slack generates them; worlds lets you choose.
| Field | Type | Description |
|---|---|---|
client_id optional | string | |
client_secret optional | string | |
signing_secret optional | string | |
verification_token optional | string |
SlackInstallSpec
Install the app into the world's workspace.
| Field | Type | Description |
|---|---|---|
installer | string | The user (name or id) who installs the app. |
bot_user_id optional | string | Example: "U0EMPIRICAL1" |
bot_token optional | string | Pin the bot token, so a recreated world matches tokens your app already stored. |
channels optional | string[] | Channel names the bot is a member of. |
SlackCreated
null when the world has no Slack.
| Field | Type | Description |
|---|---|---|
api_url | string (uri) | Use as the Slack Web API base URL, e.g. slackApiUrl in @slack/web-api. Example: "https://k2v9x0q1m4-slack.makeworlds.dev/api/" |
oauth_authorize_url | string (uri) | Send users here instead of slack.com/oauth/v2/authorize to install your app. Example: "https://k2v9x0q1m4-slack.makeworlds.dev/oauth/v2/authorize" |
ui_url | string (uri) | The world's Slack UI. Example: "https://k2v9x0q1m4-slack.makeworlds.dev/" |
spec | SlackState | The world's spec with every generated id, credential and token filled in. Create a world from it to get an identical one. |
SlackState
The world's spec with every generated id, credential and token filled in. Create a world from it to get an identical one.
| Field | Type | Description |
|---|---|---|
team | SlackTeamState | The workspace, with its id. |
users | SlackUserState[] | |
channels | SlackChannelState[] | |
apps | SlackAppState[] |
SlackTeamState
The workspace, with its id.
| Field | Type | Description |
|---|---|---|
id | string | |
name | string | |
domain | string |
SlackUserState
A user, with every generated field filled in.
| Field | Type | Description |
|---|---|---|
id | string | |
name | string | |
real_name | string | |
email | string | |
token | string | null | The pinned user token. null when none was pinned. |
SlackChannelState
A channel, with its id and member ids.
| Field | Type | Description |
|---|---|---|
id | string | |
name | string | |
private | boolean | |
topic | string | |
members | string[] | User ids. |
messages | SlackMessageSpec[] |
SlackAppState
An app, with all its credentials.
| Field | Type | Description |
|---|---|---|
app_id | string | |
manifest | SlackManifest | A Slack app manifest (JSON). Its redirect_urls, scopes, event_subscriptions and interactivity apply in this world. Example: {"display_information":{"name":"My app"},"features":{"bot_user":{"display_name":"my-app"}},"oauth_config":{"scopes":{"bot":["app_mentions:read","chat:write","channels:history"]}},"settings":{"event_subscriptions":{"request_url":"https://example.com/slack/events","bot_events":["app_mention"]}}} |
credentials | SlackCredentials | The app's OAuth and request-signing credentials. |
install | SlackInstallState | null when the spec didn't install the app. |
SlackCredentials
The app's OAuth and request-signing credentials.
| Field | Type | Description |
|---|---|---|
client_id | string | |
client_secret | string | |
signing_secret | string | |
verification_token | string |
SlackInstallState
null when the spec didn't install the app.
| Field | Type | Description |
|---|---|---|
installer | string | The installing user's id. |
bot_user_id | string | |
bot_token | string | |
channels | string[] | Channel names the bot is a member of. |
SlackTokenRequest
Whose token to get.
| Field | Type | Description |
|---|---|---|
user | string | The user who acts: their name or id. Bots can't be acted as. Example: "alice" |
SlackToken
A user token, to call the Web API as that user.
| Field | Type | Description |
|---|---|---|
user_id | string | Example: "U0ALICE00001" |
token | string | Example: "xoxp-worlds-0b6c…" |
SlackWorldState
The workspace as it is now, and one channel's messages.
| Field | Type | Description |
|---|---|---|
team | SlackWorldTeam | The workspace. |
users | SlackWorldUser[] | |
channels | SlackWorldChannel[] | |
messages | SlackMessage[] | The channel's messages, oldest first. Empty without channel. |
SlackWorldTeam
The workspace.
| Field | Type | Description |
|---|---|---|
id | string | |
name | string |
SlackWorldUser
A user or bot in the workspace now.
| Field | Type | Description |
|---|---|---|
id | string | |
name | string | |
real_name | string | |
is_bot | boolean | |
has_token | boolean | Whether the user can be acted as. |
SlackWorldChannel
A channel in the workspace now.
| Field | Type | Description |
|---|---|---|
id | string | |
name | string | |
is_private | boolean | |
topic | string | |
members | string[] | User ids. |
SlackMessage
A message as the world's Slack UI shows it.
| Field | Type | Description |
|---|---|---|
ts | string | |
thread_ts optional | string | |
user | string | |
text | string | |
reply_count | integer | |
reply_users | string[] | |
reactions | SlackReaction[] | |
bot_name optional | string | |
edited | boolean | |
files | SlackFileRef[] | |
images | SlackImage[] |
SlackReaction
An emoji reaction on a message.
| Field | Type | Description |
|---|---|---|
name | string | The emoji name. Example: "eyes" |
users | string[] | Ids of the users who reacted. |
count | integer |
SlackFileRef
A file shared in a message.
| Field | Type | Description |
|---|---|---|
id | string | |
name | string | |
mimetype | string | |
size | integer |
SlackImage
An image in a message, from a file or a block.
| Field | Type | Description |
|---|---|---|
file_id optional | string | |
url optional | string | |
alt | string |
SlackActRequest
A Web API call to make as a user.
| Field | Type | Description |
|---|---|---|
user | string | The user who acts: their name or id. Bots can't be acted as. Example: "alice" |
method | "chat.postMessage" | "conversations.create" | "conversations.invite" | "reactions.add" | "reactions.remove" | Example: "chat.postMessage" |
args optional | object | The method's arguments, as the Web API takes them. Example: {"channel":"C0GENERAL001","text":"Hey <@U0EMPIRICAL1>, can you take a look?"} |
SlackWebApiResponse
The Slack Web API's response, as is: ok false with an error is a Slack error, not a failed request.
| Field | Type | Description |
|---|---|---|
ok | boolean | |
error optional | string |
SlackUploadRequest
A file to share as a user.
| Field | Type | Description |
|---|---|---|
user | string | The user who acts: their name or id. Bots can't be acted as. Example: "alice" |
channel | string | A channel id. Example: "C0GENERAL001" |
file | string (binary) | |
text optional | string | A message to share the file with. |
thread_ts optional | string | Share it in this thread. |
Jira
JiraUrls
null when the world has no Jira.
| Field | Type | Description |
|---|---|---|
site_url | string (uri) | The Jira site, in place of https://your-site.atlassian.net. Issue pages are at /browse/{key}. Example: "https://k2v9x0q1m4-jira.makeworlds.dev" |
auth_url | string (uri) | In place of https://auth.atlassian.com: /authorize and /oauth/token. Example: "https://k2v9x0q1m4-jira-auth.makeworlds.dev" |
api_url | string (uri) | In place of https://api.atlassian.com: /oauth/token/accessible-resources and /ex/jira/{cloudId}/rest/api/3. Example: "https://k2v9x0q1m4-jira-api.makeworlds.dev" |
JiraSpec
Everything in the world's Jira site. Omitted ids and credentials are generated. Leave it out to create the world without Jira.
| Field | Type | Description |
|---|---|---|
site | JiraSiteSpec | The world's Jira Cloud site. |
users optional | JiraUserSpec[] | |
projects optional | JiraProjectSpec[] | |
issues optional | JiraIssueSpec[] | Created in order before any app is installed, so they send no webhooks. |
apps optional | JiraAppSpec[] |
JiraSiteSpec
The world's Jira Cloud site.
| Field | Type | Description |
|---|---|---|
cloud_id optional | string (uuid) | Pin the cloud id, e.g. to match one your app already stored. Generated if left out. |
name | string | The site's subdomain, as in <name>.atlassian.net. Example: "acme" |
JiraUserSpec
A person on the site.
| Field | Type | Description |
|---|---|---|
account_id optional | string | Example: "712020:4f1c6b9e-3d2a-4e8f-9b7c-1a2b3c4d5e6f" |
name | string | Example: "alice" |
display_name | string | 1 to 200 characters. Example: "Alice Tester" |
email | string (email) | Example: "alice@acme.test" |
hide_email optional | boolean | Hide the email from apps, like a profile with email visibility off. GET /user then has no emailAddress. |
JiraProjectSpec
A project; issues belong to one.
| Field | Type | Description |
|---|---|---|
id optional | string | |
key | string | Example: "WRLD" |
name | string | 1 to 80 characters. Example: "Worlds" |
JiraIssueSpec
An issue created with the world.
| Field | Type | Description |
|---|---|---|
project | string | Example: "WRLD" |
summary | string | 1 to 255 characters. Example: "Checkout fails for guest users" |
description optional | string | Up to 32000 characters. |
labels optional | string[] | |
status | "To Do" | "In Progress" | "Done" | |
reporter | string | A user's name or id. Example: "alice" |
assignee optional | string | A user's name or id. Example: "alice" |
comments optional | JiraCommentSpec[] |
JiraCommentSpec
A comment on the issue, oldest first.
| Field | Type | Description |
|---|---|---|
author | string | A user's name or id. Example: "alice" |
body | string | 1 to 32000 characters. Example: "Repro'd on staging." |
JiraAppSpec
An OAuth 2.0 (3LO) app, as in the Atlassian developer console.
| Field | Type | Description |
|---|---|---|
name | string | 1 to 80 characters. Example: "My app" |
callback_urls | string[] | OAuth 2.0 (3LO) callback URLs. redirect_uri must equal one of them; a * in the host matches one label. Example: ["https://example.com/jira/callback"] |
scopes | "read:jira-work" | "write:jira-work" | "read:jira-user" | "manage:jira-webhook" | "manage:jira-project" | "manage:jira-configuration" | "read:me"[] | Scopes the app may request (offline_access is always allowed). Example: ["read:jira-work","write:jira-work","read:jira-user","manage:jira-webhook"] |
credentials optional | JiraCredentialsSpec | Pin the client id and secret, e.g. to match ones your app already has. |
JiraCredentialsSpec
Pin the client id and secret, e.g. to match ones your app already has.
| Field | Type | Description |
|---|---|---|
client_id optional | string | 8 to 128 characters. |
client_secret optional | string | 16 to 256 characters. |
JiraCreated
null when the world has no Jira.
| Field | Type | Description |
|---|---|---|
site_url | string (uri) | The Jira site, in place of https://your-site.atlassian.net. Issue pages are at /browse/{key}. Example: "https://k2v9x0q1m4-jira.makeworlds.dev" |
auth_url | string (uri) | In place of https://auth.atlassian.com: /authorize and /oauth/token. Example: "https://k2v9x0q1m4-jira-auth.makeworlds.dev" |
api_url | string (uri) | In place of https://api.atlassian.com: /oauth/token/accessible-resources and /ex/jira/{cloudId}/rest/api/3. Example: "https://k2v9x0q1m4-jira-api.makeworlds.dev" |
spec | JiraState | The world's Jira spec with every generated id and credential filled in. |
JiraState
The world's Jira spec with every generated id and credential filled in.
| Field | Type | Description |
|---|---|---|
site | JiraSiteState | The site, with its cloud id and URL. |
users | JiraUserState[] | |
projects | JiraProjectState[] | |
issues | JiraIssueState[] | |
apps | JiraAppState[] |
JiraSiteState
The site, with its cloud id and URL.
| Field | Type | Description |
|---|---|---|
cloud_id | string | |
name | string | |
url | string |
JiraUserState
A user, with every generated field filled in.
| Field | Type | Description |
|---|---|---|
account_id | string | |
name | string | |
display_name | string | |
email | string | |
hide_email | boolean |
JiraProjectState
A project, with its id.
| Field | Type | Description |
|---|---|---|
id | string | |
key | string | |
name | string |
JiraIssueState
An issue from the spec, with the key it was given.
| Field | Type | Description |
|---|---|---|
project | string | Example: "WRLD" |
summary | string | 1 to 255 characters. Example: "Checkout fails for guest users" |
description optional | string | Up to 32000 characters. |
labels optional | string[] | |
status | "To Do" | "In Progress" | "Done" | |
reporter | string | A user's name or id. Example: "alice" |
assignee optional | string | A user's name or id. Example: "alice" |
comments optional | JiraCommentSpec[] | |
key | string |
JiraAppState
An app, with its credentials.
| Field | Type | Description |
|---|---|---|
name | string | |
callback_urls | string[] | |
scopes | "read:jira-work" | "write:jira-work" | "read:jira-user" | "manage:jira-webhook" | "manage:jira-project" | "manage:jira-configuration" | "read:me"[] | |
credentials | JiraCredentials | The app's OAuth client credentials. |
JiraCredentials
The app's OAuth client credentials.
| Field | Type | Description |
|---|---|---|
client_id | string | 8 to 128 characters. |
client_secret | string | 16 to 256 characters. |
JiraWorldState
The site as it is now: its spec, issues and registered webhooks.
| Field | Type | Description |
|---|---|---|
spec | JiraState | The world's Jira spec with every generated id and credential filled in. |
issues | JiraIssue[] | |
webhooks | JiraWebhook[] |
JiraIssue
The issue as the Jira REST API returns it.
| Field | Type | Description |
|---|---|---|
id | string | |
key | string | Example: "WRLD-1" |
self | string (uri) | |
fields | JiraIssueFields | The issue's fields. |
JiraIssueFields
The issue's fields.
| Field | Type | Description |
|---|---|---|
summary | string | |
description | JiraAdf | An Atlassian Document Format document. |
labels | string[] | |
status | JiraStatus | The issue's workflow status. |
reporter | JiraUser | A user as the Jira REST API returns them. |
assignee | JiraUser | A user as the Jira REST API returns them. |
created | string | |
updated | string |
JiraAdf
An Atlassian Document Format document.
| Field | Type | Description |
|---|---|---|
type | "doc" | |
version | 1 | |
content | object[] |
JiraStatus
The issue's workflow status.
| Field | Type | Description |
|---|---|---|
name | "To Do" | "In Progress" | "Done" |
JiraUser
A user as the Jira REST API returns them.
| Field | Type | Description |
|---|---|---|
accountId | string | |
displayName | string | |
emailAddress optional | string |
JiraWebhook
A dynamic webhook an app registered.
| Field | Type | Description |
|---|---|---|
id | integer | |
client_id | string | The app that registered it. |
account_id | string | The user it was registered as. |
url | string | |
jql | string | |
events | string[] | |
expires_at | number | Milliseconds since the epoch. |
JiraIssueCreate
An issue to create as a user.
| Field | Type | Description |
|---|---|---|
user | string | The user who acts: their name or account id. Webhooks name them as the actor. Example: "alice" |
project | string | A project key. Example: "WRLD" |
summary | string | 1 to 255 characters. Example: "Checkout fails for guest users" |
description optional | string | JiraAdf | Plain text, or an Atlassian Document Format document. |
labels optional | string[] | |
status | "To Do" | "In Progress" | "Done" | |
assignee optional | string | A user's name or id. Example: "alice" |
JiraIssueUpdate
Changes to make to an issue as a user.
| Field | Type | Description |
|---|---|---|
user | string | The user who acts: their name or account id. Webhooks name them as the actor. Example: "alice" |
summary optional | string | 1 to 255 characters. Example: "Checkout fails for guest users" |
description optional | string | JiraAdf | null | Plain text, or an Atlassian Document Format document. |
labels optional | string[] | |
status optional | "To Do" | "In Progress" | "Done" | |
assignee optional | string | null | null unassigns the issue. Example: "alice" |
JiraIssueUpdated
The changed issue and what changed.
| Field | Type | Description |
|---|---|---|
issue | JiraIssue | The issue as the Jira REST API returns it. |
changelog | JiraChangeItem[] |
JiraChangeItem
One changed field, as in a Jira changelog.
| Field | Type | Description |
|---|---|---|
field | string | |
fieldtype | "jira" | |
fieldId | string | |
from | string | null | |
fromString | string | null | |
to | string | null | |
toString | string | null |
JiraCommentCreate
A comment to post as a user.
| Field | Type | Description |
|---|---|---|
user | string | The user who acts: their name or account id. Webhooks name them as the actor. Example: "alice" |
body | string | JiraAdf | Plain text, or an Atlassian Document Format document. |