Stay Updated

New tutorials, tips, and Atlassian insights. No spam, unsubscribe anytime.

L
LeanZero

An approachable expert helping teams simplify their Atlassian ecosystems. Sharing knowledge and building community, one solution at a time.

Services

  • Atlassian Migrations
  • AI Implementation Advisory
  • Forge App Development

Company

  • Blog
  • Contact

Community

  • Join Discord
  • Support this site

© 2026 LeanZero. All rights reserved.

Privacy Policy|Terms of Service|Service Level Agreement|Trust Center
  1. Home
  2. Portfolio
  3. Cognirunner
Forge App

CogniRunner

AI-powered workflow validation for Jira. Validate any field — including attachments — with custom AI prompts during workflow transitions.

Built on Atlassian Forge
Open Source (AGPL-3.0)
Powered by OpenAI
Get on MarketplaceView on GitHub

Overview

CogniRunner adds AI-powered validators and conditions to Jira workflow transitions. Instead of writing complex rules or scripts, describe your validation criteria in plain English — and the AI evaluates field content against your prompt every time an issue transitions.

Validators

Block a transition if validation fails, showing the user a clear error message with the AI's reasoning.

Conditions

Hide a transition entirely if validation fails — the user won't even see the transition button.

CogniRunner works across company-managed and team-managed Jira projects, supports all standard and custom Jira field types, and can analyze the content of attached files and images.

Getting Started

CogniRunner integrates into Jira's native workflow editor. Add a validator or condition in three steps.

1

Open the Workflow Editor

Select a transition and click the Rules panel on the right side. You'll see rule categories: Restrict transition, Request input, Validate details, and Perform actions.

2

Add a New Rule

Click the + button next to "Validate details" (for validators) or "Restrict transition" (for conditions). Find CogniRunner Field Validator under Marketplace Rules.

3

Configure the Validator

Select the field to validate, write your AI prompt, and optionally configure JQL search for duplicate detection. Click Update to save.

Add rule dialog showing CogniRunner Field Validator selected
The "Add rule" dialog in Jira's workflow editor. CogniRunner Field Validator appears under Marketplace Rules alongside other installed validators.
Workflow diagram with CogniRunner validator on a transition
A Jira workflow with CogniRunner attached to the "Move in ready for estimating" transition. The Rules panel shows it under "Validate details".

Configuring a Validator or Condition

When you add or edit a CogniRunner rule, you'll see the configuration form with three settings.

Field to Validate

Which Jira field the AI should evaluate

Validation Prompt

Your criteria described in natural language

Jira Search (JQL)

Optional duplicate detection via JQL queries

CogniRunner configuration form with field selector, prompt, and JQL options
The AI Validator Configuration form. Pick a field, describe your validation criteria in the prompt, and optionally enable JQL-based duplicate detection.

Field Selector

The field selector dropdown shows all fields available on your project's edit/view screens, grouped by system fields and custom fields. Each entry shows the field name, its internal ID, and its type.

Field selector dropdown open showing system fields
The field selector dropdown with system fields listed — Attachment, Description, Fix versions, Parent, Priority, Reporter — each showing their type badge.
When you select Attachment, CogniRunner downloads and analyzes the actual content of attached files — not just the filename. See the Attachment Content Analysis section below for supported formats.

Writing Validation Prompts

The validation prompt is where you describe your quality criteria in natural language. The AI evaluates the field content against this prompt and returns a pass/fail result with reasoning.

Example Prompts

  • “Check for similar issues and do not allow if it appears to be a duplicated description meaning.”
  • “Make sure that no Atlassian migration is found in this attachment. Explain clearly to the user the rejection.”
  • “Verify that this person is not Romanian.”
  • “The components are not allowed if they're not pretty.”
  • “Make sure the due date is not an odd day.”
The AI's response is always shown to the user when validation fails, so writing prompts that ask the AI to “explain clearly” will produce better error messages.

JQL Search & Duplicate Detection

CogniRunner can search Jira for similar or related issues during validation — enabling AI-powered duplicate detection. The JQL Search setting has three modes.

ModeBehavior
Auto-detect from promptCogniRunner analyzes your prompt text and automatically enables JQL search if it mentions duplicates, similarity, existing issues, or cross-referencing. This is the recommended setting.
Always enabledJQL search is always active, regardless of prompt wording. The AI can run up to 3 rounds of JQL queries to find related issues.
Always disabledNo JQL search is performed. Validation is based solely on the field content and prompt. Fastest option.

When JQL search is active, the AI generates and executes JQL queries against your Jira instance to find related issues. It can run up to 3 rounds of queries, each returning up to 10 results. The AI then uses these results to inform its validation decision.

Validation log showing JQL queries used during duplicate detection
A validation log entry showing the JQL queries the AI executed during duplicate detection — searching for issues with related keywords across the project.
JQL search adds latency to the validation (up to 22 seconds in the worst case). For simple validations that don't need cross-referencing, use “Always disabled” for the fastest response.

Attachment Content Analysis

When you select Attachment as the field to validate, CogniRunner downloads and analyzes the actual content of attached files. The AI can read documents, spreadsheets, presentations, and understand images.

Document Formats

FormatExtensions
PDF.pdf
Word.docx, .doc
Rich Text.rtf, .odt
Excel.xlsx, .xls
CSV / TSV.csv, .tsv
PowerPoint.pptx, .ppt

Image Formats (AI Vision)

FormatExtensions
PNG.png
JPEG.jpg, .jpeg
GIF.gif
WebP.webp

All image formats are processed via AI vision — the AI understands image content, not just metadata.

Unsupported file types are gracefully skipped — the AI receives metadata about skipped files (filename, size, type) so it can still reference them in its reasoning.

AI validation analyzing an attached image and rejecting the transition
CogniRunner analyzed an attached image and determined it contained Atlassian migration content — blocking the transition with a detailed explanation of what was found in the image.

Validation in Action

When a user attempts a workflow transition, CogniRunner evaluates the configured field against your prompt. If validation fails, the transition is blocked and the AI's reasoning is displayed as an error message.

Jira transition blocked by CogniRunner AI validation
A transition blocked by CogniRunner. The AI detected the description is identical to issue WFH-302, identifying it as a duplicate. The error message includes the specific reasoning and the blocking issue key.

The error message always includes:

  • A clear statement that AI Validation failed
  • The specific reason for the failure
  • When JQL search was used: references to related issue keys
  • Enough context for the user to understand what needs to change

Rule Management

Each CogniRunner rule can be enabled or disabled without removing it from the workflow. Useful for temporarily pausing validation during migrations, bulk updates, or troubleshooting.

Active Rule

Rule summary showing active state
A rule in active state. The summary shows the configured field, prompt preview, and tools status. Click "Disable" to pause it, or "Edit" to change the configuration.

Disabled Rule

Rule summary showing disabled state
A disabled rule. It will not run on transitions until re-enabled. The configuration is preserved — click "Enable" to reactivate it.

Admin Panel

The CogniRunner Admin panel provides a centralized view of all AI validators and conditions configured across your Jira workflows. Access it from the Jira Apps menu.

CogniRunner Admin panel showing all configured rules and validation logs
The Admin panel showing all configured rules across multiple workflows and projects. Each row shows the rule type (Validator/Condition), workflow and transition, field, prompt preview, last update, and quick Edit/Disable actions.

Configured Rules

All validators and conditions across every workflow, with type badges, workflow/transition names, field, and prompt preview.

Quick Actions

Edit or disable any rule directly from the table without opening the workflow editor.

Validation Logs

A scrollable history of all validation results, including pass/fail status, issue key, field, AI reasoning, and JQL queries.

Validation Logs

Every validation — whether it passes or fails — is logged with full context. Logs are available in both the Admin panel and the individual rule summary view.

Validation logs showing two failed validations with AI reasoning
Validation logs showing two failed validations on issue WFH-326. The first rejected an attachment based on its image content, the second blocked a duplicate description referencing WFH-302.

Each log entry includes:

Status — PASS or FAIL badge
Issue key — Links to the Jira issue
Timestamp — When the validation occurred
Field — Which field was validated
AI reasoning — The full explanation from the AI
JQL queries — Queries executed during agentic search

Logs are stored in Forge storage with a maximum of 50 entries (FIFO — oldest entries are removed when the limit is reached).

Supported Jira Field Types

CogniRunner extracts readable text from any Jira field type and sends it to the AI for validation. All field values are converted to plain text before evaluation.

CategoryField Types
TextSingle-line text, Multi-line text, URL
Rich TextDescription, Comments, and other ADF fields — full text extraction from rich content
SelectSelect list (single/multi), Radio buttons, Checkboxes, Cascading select
PeopleUser picker (single/multi), Group picker (single/multi), Reporter, Assignee
Date & TimeDate picker, Date/Time picker
NumericNumber, Time tracking (original estimate, remaining estimate, time spent)
SystemPriority, Status, Resolution, Issue type, Labels, Components, Versions, Sprint
ReferenceIssue links, Parent issue, Project picker
FilesAttachments — with full content analysis
CustomAny custom field with a readable value — extracted generically

Limits & Constraints

LimitValueNotes
Max attachment size (per file)10 MBFiles larger than 10 MB are skipped
Max total attachment size20 MBCombined size across all attachments per validation
Validation timeout25 secondsForge function time limit; agentic mode budgets 22 seconds
JQL search rounds3 rounds maxEach round can execute multiple JQL queries
JQL results per query10 issuesTop 10 matching issues returned per query
Validation log history50 entriesOldest entries removed when limit is reached (FIFO)
Prompt log truncation200 charactersField values stored in logs are truncated for storage
Attachments that exceed the size limit or use unsupported formats are gracefully skipped. The AI still receives metadata about skipped files and can reference them in its reasoning.

AI Infrastructure

CogniRunner's AI is fully managed — the OpenAI integration is handled by the app, not by your team. No API keys to configure, no tokens to track.

All AI processing costs are covered by the app. You install CogniRunner, configure your validation rules, and the AI just works. No OpenAI account or API key required on your end.

Open Source & Free

AGPL-3.0 licensed. The source code is available on GitHub.

View on GitHubJoin the Community