Overview
Thejira searchissues command performs full-text searches across Jira issues, allowing you to find issues containing specific keywords, phrases, or patterns. This reconnaissance command is essential for discovering sensitive information, finding credentials in issue content, locating specific technologies or systems, and identifying issues relevant to attack objectives.
Syntax
Required Parameters
The base URL of the target Jira instance (e.g.,
https://company.atlassian.net)Text query to search for. Searches issue titles, descriptions, and optionally comments. Supports wildcards and boolean operators
Optional Parameters
Authentication cookie (
cloud.session.token or tenant.session.token). Required for searching non-public issuesReturn all matching results (not just the first 100). Currently not fully implemented - returns results based on limit
Maximum number of results to return
Include comments in the search results output. Useful for viewing full context of matching issues
Include attachment information in the search results output
Save command output to a specified file
Examples
Search for Keywords
Find issues containing specific keywords:Search for Credentials
Look for potential credential exposure:Search for Infrastructure Details
Find issues discussing specific systems:Search with Wildcards
Use wildcards for broader searches:Search for Configuration Files
Find issues mentioning configuration:Comprehensive Sensitive Data Search
Search for multiple indicators and save results:Use Cases
- Red Team
- Blue Team
Offensive Security Applications
- Credential Discovery: Search for “password”, “api key”, “token”, “secret”
- Infrastructure Mapping: Find issues mentioning servers, databases, network infrastructure
- Configuration Harvesting: Locate connection strings, config files, environment variables
- Technology Stack Discovery: Search for specific technologies (AWS, Azure, Jenkins, etc.)
- Sensitive Data Location: Find PII, financial data, or confidential information
- Vulnerability Research: Search for CVE numbers or security issues
- URL Harvesting: Find internal URLs, admin panels, or management interfaces
- Documentation Discovery: Locate architecture diagrams, runbooks, or procedures
Output
The command returns detailed information about matching issues:Output Information
For each matching issue:- Issue Title: Summary of the issue
- Issue Key: Unique identifier (PROJECT-###)
- Issue Id: Numeric ID
- Created: Creation timestamp
- Updated: Last update timestamp
- Status: Current workflow status
- Creator: Email, display name, and timezone
- Assignee: Assigned user information
- Issue Contents: Full description text (where match was found)
--attachments is used:
- Filename, Attachment ID, MIME type, and file size
--comments is used:
- Author, timestamp, and comment text for each comment
Detection Considerations
Jira Audit Log Entries
This command generates the following audit log events:- Search/query operations may be logged
issue_viewedevents for each matching issue- Includes: User ID, search query, timestamp, IP address
Network Indicators
- HTTP GET requests to
/rest/api/3/search?jql=text~{encodedQuery}&expand=renderedFields&fields=... - URL-encoded search queries in request parameters
- JQL (Jira Query Language) with text search operators
- Requests including comment and attachment field expansions
OPSEC Considerations
Search Query Tips
- Jira uses JQL (Jira Query Language) backend with
text~operator for full-text search - Queries are URL-encoded automatically
- Wildcards (
*) are supported for pattern matching - Searches include issue titles, descriptions, and summary fields
- Comment searching requires the
--commentsflag for output, but comments are always searched
Query Examples for Sensitive Data
Related Commands
- jira listissues - List all issues in a project (alternative to searching)
- jira listprojects - Identify projects to target for searches
- jira download - Download attachments from matching issues
- jira listattachments - List attachments that may be related to search results
- jira addcomment - Add comments to issues discovered via search