Skip to content

Ticket Systems

A planned control is work for someone, and that work is tracked in a ticket. Ticket Systems tells the application where your tickets live, so people can link a control of a model to its ticket by entering only the ticket’s id. Administrators set this up; everyone in the organization can read it.

  1. Under Administration, open Ticket Systems and choose Add a Ticket System. The dialog goes step by step: System, Addresses, then Review.
  2. System: under Start From, choose Jira, GitHub Issues, GitLab Issues, Azure Boards, ServiceNow or Another System. That fills in the addresses for you to complete. Give it the Name your people know it by.
  3. Addresses: replace the words in capitals with your own site, organization or project.
    • Address of a Ticket: the address of one ticket, with {id} where its id goes.
    • A Ticket’s ID Matches: what an id looks like, as a regular expression matched against the whole id.
    • Opens a New Ticket At (optional): the address of the system’s new-ticket screen, with {title} and {body} where the control’s name and details go.
  4. Review, then Add.
System Address of a Ticket ID Matches Opens a New Ticket At
Jira https://YOUR-SITE.atlassian.net/browse/{id} [A-Z][A-Z0-9_]+-[0-9]+ Leave empty (see below)
GitHub Issues https://github.com/OWNER/REPOSITORY/issues/{id} [0-9]+ https://github.com/OWNER/REPOSITORY/issues/new?title={title}&body={body}
GitLab Issues https://gitlab.com/GROUP/PROJECT/-/issues/{id} [0-9]+ https://gitlab.com/GROUP/PROJECT/-/issues/new?issue[title]={title}&issue[description]={body}
Azure Boards https://dev.azure.com/ORGANIZATION/PROJECT/_workitems/edit/{id} [0-9]+ https://dev.azure.com/ORGANIZATION/PROJECT/_workItems/create/Task?[System.Title]={title}&[System.Description]={body}
ServiceNow https://INSTANCE.service-now.com/incident.do?sysparm_query=number={id} [A-Z]+[0-9]+ https://INSTANCE.service-now.com/incident.do?sys_id=-1&sysparm_query=short_description={title}

Jira. Jira has no supported address that opens a new issue already filled in: Atlassian’s own page on it says the old address is unsupported and was switched off in version 9, and Jira Cloud documents none. With Jira, people make the issue in Jira and link it here by its key, or your own automation writes the key and the status through the API.

  • Only web addresses: one that starts with https:// (or http:// for a system inside your network), with no spaces and no user name in it.
  • The host is written out. {id}, {title} and {body} can go in the path or the query, never in the host name.
  • What fills a place is escaped. Nothing in a ticket’s id or a control’s name can change where an address leads.
  • A new-ticket address is kept short. A long description is cut, at a word, so the address still opens.

An id pattern is a plain regular expression. Lookarounds and back-references are not accepted.

Change opens the same dialog. If someone else changed it since you opened it, you are told, and nothing is saved over theirs. A new id pattern must still match every ticket already linked.

Remove is offered once nothing is linked through the system. Remove its links first, on each model’s Controls tab, so no control loses its ticket without anyone deciding it.

When the system moves to a new address, change Address of a Ticket here: every link follows.

The application announces and your side acts. A script of yours, with a service account that has the author role, can write a ticket’s id and status to a control:

Terminal window
curl -s -X PUT -H "authorization: Bearer $FORGE_API_KEY" -H "content-type: application/json" \
-d '{"outsideId":"SEC-123","status":"In Progress"}' \
"https://forge.example.com/api/models/$MODEL_ID/controls/CTL-0001/links/$LINK_TYPE_ID"

The status is kept with the time and marked as written by a service account. The API reference has the routes under Review and Organization settings. $LINK_TYPE_ID is the ticket system’s ID for Your Automation, shown on its card.

Your automation need not ask: a webhook tells it when a control is planned and has no ticket. With Jira, a Jira Automation rule can make the issue and write its key back, with no Jira token held here.