Jira Issues for Planned Controls
When a revision of a model plans a control that has no ticket, the application can tell a Jira Automation rule of yours. The rule makes the issue in Jira and writes its key back to the control. NetBlueprint Forge holds no Jira token and never calls Jira: Jira holds the rule, and the rule calls the application with a key you give it.
The recipe follows Atlassian’s documentation of Automation’s Incoming webhook trigger, its {{webhookData}} and {{createdIssue}} smart values and its Send web request action, as it read on 29 November 2026.
What You Need
Section titled “What You Need”- A Jira Cloud site where you may make Automation rules for the project the issues go in.
- In NetBlueprint Forge, an administrator, for the service account, the ticket system and the webhook.
The steps go back and forth between the two once: the rule’s address is made in Jira, and the key the rule uses is made in NetBlueprint Forge.
1. In NetBlueprint Forge: a Ticket System for Jira
Section titled “1. In NetBlueprint Forge: a Ticket System for Jira”- Under Administration, open Ticket Systems and add one from the Jira preset, with your site’s address, such as
https://your-site.atlassian.net/browse/{id}. - Note its ID for Your Automation, shown on its card. The rule needs it.
2. In NetBlueprint Forge: a Service Account and Its Key
Section titled “2. In NetBlueprint Forge: a Service Account and Its Key”- Under Administration, open Service Accounts and add one, such as Jira Automation, with the Author role only: that is what lets it link a ticket to a control.
- Make a key for it and copy the key. It is shown once.
- If your organization limits where keys may be used from, allow Atlassian’s outgoing addresses as Atlassian publishes them, or leave the key’s networks empty.
3. In Jira: the Rule
Section titled “3. In Jira: the Rule”- In the project’s settings, open Automation and create a rule.
- Trigger: choose Incoming webhook. Jira shows the rule’s Webhook URL and its Secret. Copy both: they go in NetBlueprint Forge in step 4. If the trigger asks which work items the rule runs with, choose the one that takes none from the webhook: the rule makes its own.
- Condition: choose the advanced compare condition ({{smart values}} condition), with the first value
{{webhookData.event}}, equals, and the second valuecontrol.needs_ticket. A test from NetBlueprint Forge, and any other event, then stops here. - Action: choose Create work item (or Create issue) in your project, of the type you use for this work, with:
-
Summary:
{{webhookData.control.id}}: {{webhookData.control.name}} -
Description:
Planned in the threat model {{webhookData.model.name}}, revision {{webhookData.model.revision}}.Owner in the model: {{webhookData.control.owner}}. Due: {{webhookData.control.dueDate}}.{{webhookData.model.url}} -
Set a due date, a label or a component from the same values if you use them.
-
- Action: choose Send web request, with:
-
Web request URL:
https://forge.example.com/api/models/{{webhookData.model.id}}/controls/{{webhookData.control.id}}/links/TICKET-SYSTEM-ID, with your instance’s address in place offorge.example.comand the ID from step 1 in place ofTICKET-SYSTEM-ID. -
HTTP method:
PUT. -
Web request body: Custom data:
{"outsideId": "{{createdIssue.key}}"} -
Headers:
Authorizationwith the valueBearerfollowed by the service account’s key from step 2, andContent-Typewithapplication/json. Mark the authorization header as hidden if your Jira offers it.
-
- Name the rule, such as Issues for Planned Controls, and turn it on.
{{createdIssue}} is the issue the rule made just before; Atlassian documents that any property of an issue, such as its key, can be read from it. If the key comes back empty in the audit log, put the web request inside a branch for the created issue and use {{issue.key}}.
4. In NetBlueprint Forge: the Webhook
Section titled “4. In NetBlueprint Forge: the Webhook”- Under Administration, open Webhooks and choose Add a Webhook.
- Kind and Name: Jira Automation, named after the rule.
- Address: the rule’s Webhook URL, and its Secret as the Token. It is sent in the
X-Automation-Webhook-Tokenheader, as Atlassian advises, and kept sealed. - Events: A Planned Control Needs a Ticket only. Leave Include Restricted Models off unless the Jira project is one only the people who may see those models can read.
- Review and Add, then Send a Test. A test is the event
ping: the rule’s audit log shows that it ran and stopped at its condition. Jira’s address answers 200 to every well-formed request, so the audit log, not the test’s answer, tells you the rule ran.
What Happens Then
Section titled “What Happens Then”- An author saves a revision in which a control is planned or proposed and has no ticket.
- The application posts
control.needs_ticketto the rule’s address, with the control’s id, name, status, owner and due date, and the model’s id, name, revision and address. - The rule makes the issue and calls the application with its key. The control’s Controls tab shows the issue, marked as written by an integration.
- The ticket’s link is announced as
control.ticket_linkedto any webhook that takes it. A status written back later is not announced, so the rule is not started again by its own write.
A control that stays planned in later revisions is not announced again. If the rule failed, link the issue on the model’s Controls tab, or look at the webhook’s Recent Deliveries and choose Send Again once the rule works.
If You Regenerate the Rule’s Secret
Section titled “If You Regenerate the Rule’s Secret”Jira’s Regenerate stops the old secret at once. Open the webhook in NetBlueprint Forge, choose Change, and enter the new one as the Token. If the rule’s address changes to another server, the application asks for the token again: a token is never sent anywhere but where it was made.