Create a Jira ticket
Create a Jira ticket when model validation requires attention using an HTTP request workflow step.
Prerequisites
Configure the workflow step
In the left sidebar, click Settings.
Under Governance, select Workflows.
Select the Model Workflows tab.
Click on a workflow to modify or click Add Model Workflow4 to create a new workflow.
From the Workflow Steps modal, drag and drop an HTTP Request step5 onto the canvas, then connect it to your workflow.
Double-click the step to open the Configure HTTP Request modal.
Configure the required fields, replacing the placeholder values with your own:
- url —
https://yourcompany.atlassian.net/rest/api/3/issue - method — POST
- headers — Add:
Content-Type:application/jsonAuthorization:Bearer {{Jira Personal Access Token}}
TipUse webhook secrets for credentialsInstead of entering credentials in plaintext, use a webhook secret:
Bearer {{secret:jira_pat}}. See Manage secrets.- body type — JSON
- body — Use the following JSON payload:
{ "fields": { "project": { "key": "MODEL" }, "summary": "Model validation failed: {{Model Name}}", "description": "The model [{{Model Name}}|{{Model URL}}] failed validation. Review artifacts in ValidMind.", "issuetype": { "name": "Bug" } } }- url —
Click Update Step to save your configuration.
The HTTP request to create the Jira ticket is sent when the workflow executes the step.
