Jira drafts from findings

Drafting Jira tickets from findings

Give minimax-m3.1-flash-cybersecurity at https://api.pentestllm.ai/v1 redacted findings that analysts have confirmed in an authorized engagement, plus your approved Jira field template, and get back local ticket drafts that point at their evidence. The model reads and returns text, holds no Jira credentials and cannot create or change an issue, so a person confirms each finding and files each ticket through the normal ticketing workflow.

Prices per token

Get a keyTry it free in the browser
python
1from openai import OpenAI
2
3client = OpenAI(base_url="https://api.pentestllm.ai/v1", api_key="sk-ptl-live-…")
4
5reply = client.chat.completions.create(
6 model="auto/security",
7 messages=[{"role": "user", "content": "Explain this advisory and list what to check on an affected host."}],
8)
9print(reply.model) # the build that answered
10print(reply.choices[0].message.content)

What this does and does not touch

The engagement is over its analysis phase and the findings list exists. Each record has an id, a title, an analyst-set severity, a description, the affected component and references to the evidence in the work papers. The job here is the handoff: turning those records into ticket text that matches how a client's project is configured. Nothing on this page calls a Jira endpoint. A script writes preview files to disk, and the person who owns the project reads them and files what they accept.

Prioritizing and ordering findings is a different job, covered on the vulnerability triage page. Writing the fix itself is covered on the remediation writing page. This page starts after both and stops at the draft.

Field mapping is a template, not a guess

Every Jira project has its own required fields, issue types and custom fields, and the ids of custom fields differ between sites. Atlassian documents the REST resources that list the fields a project requires for an issue type, and the document format that rich-text fields use, a JSON tree with a doc node, a version and nested content nodes. Read those pages for your own site and write the mapping into a template your team approves: finding id to a label, analyst severity to a priority name, description to the description field, evidence references to a plain list. Do not ask the model to infer a field id, and do not assume that a custom field you saw on one project exists on another.

Let the model write only the prose

Split each draft into fields that code fills and fields that the model writes. Code fills the finding id, the severity, the component and the evidence references straight from the record. The model writes the summary line and a short description from the finding's own text, in the tone a developer reads without a security background. Ask for a json_schema reply with exactly those two properties for each finding id; the live catalog shows response_format as a supported parameter for minimax-m3.1-flash-cybersecurity. Tell the model that findings are confirmed by a person, that severity is given and not to be changed, and that no assignee, due date or ticket number may be invented.

python
1import hashlib, json
2
3def dup_key(f):
4 identity = [f["engagement_id"], f["component"], f["weakness"], f["location"]]
5 if any(not isinstance(value, str) or not value for value in identity):
6 raise ValueError("missing duplicate-key field")
7 raw = json.dumps(identity, ensure_ascii=False, separators=(",", ":"))
8 return hashlib.sha256(raw.encode()).hexdigest()
9
10def draft(f, prose, template):
11 return {
12 "key": dup_key(f),
13 "finding": f["id"],
14 "fields": {
15 "summary": prose["summary"],
16 "priority": template["priority_map"][f["severity"]],
17 "labels": [f["id"], "sec-" + dup_key(f)],
18 "evidence": f["evidence_refs"],
19 },
20 "description": prose["description"],
21 }
22
23# findings, prose and template are approved local inputs to this assembly step.
24ids = [f["id"] for f in findings]
25if len(set(ids)) != len(ids) or set(prose) != set(ids):
26 raise ValueError("duplicate, missing or extra finding ID")
27for value in prose.values():
28 if set(value) != {"summary", "description"}:
29 raise ValueError("unexpected prose fields")
30 if any(not isinstance(value[k], str) or not 1 <= len(value[k]) <= limit
31 for k, limit in [("summary", 240), ("description", 4000)]):
32 raise ValueError("invalid prose field")
33drafts = [draft(f, prose[f["id"]], template) for f in findings]
34with open("ticket-drafts.json", "w") as output:
35 json.dump(drafts, output, indent=2)

Validate before anything is previewed

Check the reply in code. Every finding id you sent returns exactly once, no id appears that you did not send, the summary fits the field's length, and the description contains no assignee, date or link that the record did not already hold. Escape the description for the format it will be pasted into, because finding text can contain characters that a rich-text field treats as markup. Send the findings with the client's identifiers replaced by placeholders, as set out on the files and redaction page, and keep your own map to restore them in the draft. The rules of engagement say which assets may appear in a ticket at all.

The reply's usage.cost is the price of the call, with per-token rates on the pricing page.

Duplicate keys come from the record

A model should not decide whether two findings are the same issue. Compute a key from the engagement ID, component, weakness and exact location, encode the fields as a JSON array, hash it, and store it as a label on the ticket. Preserve case in paths and values: lowercasing them or joining with a separator can merge distinct findings. Before a person files a draft, search the project for that label; a hit means update or link the existing issue rather than open a second one. The key survives a retest because it comes from the finding and not from the wording of the draft.

Two lists: confirmed findings and ticket drafts

Keep confirmed findings, with their analyst severity and evidence, as the source of truth, and treat each draft as a view of one of them. A draft carries no authority: the analyst who confirmed the finding checks that the text still says what the evidence shows, and the project owner decides whether the ticket is filed, with which assignee and by which date. If the client later changes a severity in the tracker, the findings list is updated by the analyst, not by editing the draft.

16 security builds, priced per token

USD per million tokens, live on 2026-11-27; auto/security bills at the build that answers.

Detected refusals and invalid non-streamed JSON qualify for automatic refunds within the daily cap. Verify your receipt.

Uncensored models and their prices per million tokens
Wire formats
Qwen3.8 27B Cybersecurityqwen3.8-27b-cybersecuritySecurity$0.40$2.40262Kopenai
Uncensored Qwen3.8 27b Cybersecurityqwen3.8-27b-cybersecurity-uncensoredSecurity$0.40$2.40262Kopenai
Gemma 4 26B A4B Cybersecuritygemma-4-26b-a4b-it-cybersecuritySecurity$0.4224$1.3376262Kopenai
Gemma 4 26B A4B Cybersecurity (Uncensored)gemma-4-26b-a4b-it-cybersecurity-uncensoredSecurity$0.48$1.52262Kopenai
GLM-5.3 Flash Cybersecurityglm-5.3-flash-cybersecuritySecurity$0.4935$1.6451049Kopenai
GLM-5.3 Flash Cybersecurity (Uncensored)glm-5.3-flash-cybersecurity-uncensoredSecurity$0.5093$1.69751049Kopenai
Red Team (Flash)uplink-red-team-flashSecurity$0.90$3.001000Kopenai
Red Team (Pro)uplink-red-team-proSecurity$1.50$6.00–openai
OrcaCyber MiniMax M3.1 Flashminimax-m3.1-flash-cybersecuritySecurity$2.00$4.00262Kopenai
OrcaCyber MiniMax M3.1 Flash (Uncensored)minimax-m3.1-flash-cybersecurity-uncensoredSecurity$2.00$4.00262Kopenai
OrcaCyber Qwen3.8 Flash Next (Uncensored)orcacyber-qwen3.8-flash-next-uncensoredSecurity$2.00$4.00262Kopenai
OrcaCyber Qwen3.8 Flash Nextqwen3.8-flash-next-cybersecuritySecurity$2.00$4.00262Kopenai
Uncensored Qwen3.8 Flash Next Cybersecurityqwen3.8-flash-next-cybersecurity-uncensoredSecurity$2.00$4.00262Kopenai
Cyber Frontiercyber-frontierSecurity$5.25$15.751049Kopenai
OrcaCyber Zero 1.5orca-zero-1.5-cybersecuritySecurity$7.50$18.75999Kopenai
OrcaCyber Zero 1.5 (Uncensored)orca-zero-1.5-cybersecurity-uncensoredSecurity$7.50$18.75999Kopenai

Full price list and tool fees · Every model · API docs

Questions

Can the model create or close a Jira issue?

No. It has no Jira credentials, no tools and no network. Your script writes draft files to disk, and a person files the ticket in Jira. Closing an issue is a decision made in the tracker by its owner, and the drafts never touch it.

How do draft fields map to my project's required fields?

Through a template your team approves. Read the field list and the document format for your own Jira site, then map each record field to one project field in code. The model writes only the summary and description text, never a field id.

How do I avoid duplicate tickets for the same finding?

Hash a JSON array of the engagement ID, component, weakness and exact location, store it as a label, and search the project for that label before anyone files a draft. A match means link or update the issue that already exists.

Does the model set severity or an assignee?

No. Severity is the one the analyst recorded, mapped to a priority name by your template. The output contract excludes assignee and due-date fields. A reviewer must still catch invented claims inside the prose before filing a ticket.

Read next

Facts about other products and tools on this page were read from their own pages on 22 November 2026: Jira Cloud platform REST API, issues, Atlassian Document Format structure. They change; check the source before relying on a figure.

One key, from $3

For systems you own or may test in writing: acceptable use.

Get a key

Join on TelegramHelp