Skip to main content
Glama
isLikelyUiRelated.ts1.01 kB
/** * This file provides functionality to determine if a Jira issue is likely related to frontend/UI development. * It analyzes the issue's summary and description to search for UI-related terms like 'ui', 'interface', * 'frontend', 'screen', 'design', 'ux', and 'visual'. This helps in categorizing issues for the * completeness evaluation process within the issue analysis system. */ import type { JiraIssue } from '../../../../types/issue.types' /** * Analyzes issue content to determine if it's likely frontend/UI related */ export function isLikelyUiRelated(issue: JiraIssue): boolean { const summary = issue.fields.summary?.toLowerCase() || '' const description = typeof issue.fields.description === 'string' ? issue.fields.description.toLowerCase() : JSON.stringify(issue.fields.description || '').toLowerCase() const uiTerms = ['ui', 'interface', 'frontend', 'screen', 'design', 'ux', 'visual'] return uiTerms.some((term) => summary.includes(term) || description.includes(term)) }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tbreeding/jira-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server