<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Skills - email2jira]]></title><description><![CDATA[<hr />
<h2>name: email2jira<br />
description: Convert incoming email requests to Jira tickets for Team China DevSecOps. Use this skill when the user asks to check emails for requests, process DevSecOps requests from email, create Jira tickets from emails, or mentions "email2jira", "email to jira", "request emails", or wants to triage incoming requests sent to Team China DevSecOps. Also trigger when the user mentions checking inbox for team requests or converting email requests to tickets.</h2>
<h1>Email to Jira Ticket Workflow</h1>
<p dir="auto">This skill monitors Outlook emails for requests sent to Team China DevSecOps and creates corresponding Jira tickets in the CDTT project.</p>
<h2>When to Use</h2>
<ul>
<li>User asks to "check emails for requests" or "process email requests"</li>
<li>User wants to create Jira tickets from incoming emails</li>
<li>User mentions Team China DevSecOps email requests</li>
<li>User asks to triage or handle incoming requests</li>
</ul>
<h2>Workflow</h2>
<h3>Step 1: Search for Request Emails</h3>
<p dir="auto">Search Outlook for emails matching these criteria:</p>
<ul>
<li>Subject contains "request" (case-insensitive)</li>
<li>Recipients (To or CC) include "Team China DevSecOps"</li>
</ul>
<p dir="auto">Use the Outlook MCP tools:</p>
<pre><code>outlook_outlook_search_emails with query: "request"
</code></pre>
<p dir="auto">Then filter results to only include emails where:</p>
<ul>
<li>The <code>to</code> or <code>cc</code> field contains "Team China DevSecOps" or "devsecops" (the team's email alias)</li>
<li>The email hasn't already been processed (check for existing Jira tickets with the same subject)</li>
</ul>
<h3>Step 2: Read and Understand Each Email</h3>
<p dir="auto">For each matching email:</p>
<ol>
<li>Get the full email content using <code>outlook_outlook_get_email_content</code></li>
<li>Extract key information:
<ul>
<li><strong>Requester</strong>: The sender's name and email</li>
<li><strong>Subject</strong>: Email subject line (will become Jira summary)</li>
<li><strong>Request Details</strong>: The email body content</li>
<li><strong>Date</strong>: When the request was received</li>
<li><strong>Attachments</strong>: Note if there are any attachments</li>
</ul>
</li>
</ol>
<h3>Step 3: Get Active Sprint</h3>
<p dir="auto">Before creating tickets, find the current active sprint for the CDTT project:</p>
<pre><code>get_project_sprints with:
  - project_key: "CDTT"
  - state: "active"
</code></pre>
<p dir="auto">This returns the active sprint(s). Use the first active sprint found for ticket assignment.</p>
<h3>Step 4: Create Jira Ticket</h3>
<p dir="auto">For each request email, create a Jira Story with:</p>
<p dir="auto"><strong>Project</strong>: CDTT<br />
<strong>Issue Type</strong>: Story<br />
<strong>Assignee</strong>: XXX(<a href="mailto:xxx@ford.com" rel="nofollow ugc">xxx@ford.com</a>) — assigned via <code>jira_assign_issue</code> after creation<br />
<strong>Epic Link</strong>: CDTT-33xx<br />
<strong>Sprint</strong>: (use the active sprint name from Step 3)</p>
<p dir="auto"><strong>Summary Format</strong>:</p>
<pre><code>[Email Request] {Original Email Subject}
</code></pre>
<p dir="auto"><strong>Description Format</strong>:</p>
<pre><code>h2. Request Source
*From*: {Sender Name} ({Sender Email})
*Received*: {Email Date}
*Original Subject*: {Subject}

h2. Request Details
{Email Body Content}

----
_This ticket was auto-generated from an email request sent to Team China DevSecOps._
</code></pre>
<p dir="auto">Use the Jira MCP tool:</p>
<pre><code>jira_create_issue with:
  - project_key: "CDTT"
  - issue_type: "Story"
  - summary: "[Email Request] {subject}"
  - description: {formatted description}
  - epic_link: "CDTT-33xx"
  - sprint_name: "{active_sprint_name}"  # from Step 3
</code></pre>
<h3>Step 5: Assign to XXX</h3>
<p dir="auto">After creating the ticket, assign it using the account email (the <code>assignee</code> parameter in <code>jira_create_issue</code> does not work reliably):</p>
<pre><code>jira_assign_issue with:
  - issue_key: "CDTT-XXXX"
  - assignee_email: "xxx@ford.com"
</code></pre>
<h3>Step 6: Verify and Fix Sprint Assignment</h3>
<p dir="auto">After creating the ticket, the sprint may not be set correctly due to Jira API limitations. Always verify and fix:</p>
<pre><code>move_to_sprint with:
  - issue_key: "CDTT-XXXX"
  - sprint_name: "{active_sprint_name}"  # from Step 3
</code></pre>
<p dir="auto">This ensures the ticket is added to the active sprint.</p>
<h3>Step 7: Mark Email as Processed (Optional)</h3>
<p dir="auto">After successfully creating the Jira ticket:</p>
<ol>
<li>Flag the email using <code>outlook_outlook_flag_email</code> to indicate it's been processed</li>
<li>Optionally reply to the sender confirming the ticket was created (ask user first)</li>
</ol>
<h3>Step 8: Report Results</h3>
<p dir="auto">Provide a summary to the user:</p>
<ul>
<li>Number of emails found matching criteria</li>
<li>Number of Jira tickets created</li>
<li>Active sprint name used</li>
<li>List of ticket keys with links</li>
<li>Any emails that couldn't be processed and why</li>
</ul>
<h2>Example Output</h2>
<pre><code>Active Sprint: Devops 202606

Found 3 request emails for Team China DevSecOps:

1. "Request: New Jenkins pipeline for Project X"
   From: john.doe@ford.com
   -&gt; Created CDTT-1234, linked to Epic CDTT-3365, added to active sprint

2. "Request: Access to production environment" 
   From: jane.smith@ford.com
   -&gt; Created CDTT-1235, linked to Epic CDTT-3365, added to active sprint

3. "Request: Help with Docker deployment"
   From: bob.wilson@ford.com
   -&gt; Created CDTT-1236, linked to Epic CDTT-3365, added to active sprint

All 3 tickets created, assigned to Jian Liu, linked to Epic CDTT-3365, and added to active sprint (Devops 202606).
</code></pre>
<h2>Error Handling</h2>
<ul>
<li>If Outlook search fails, report the error and suggest checking MCP connectivity</li>
<li>If no active sprint found, warn the user and create ticket without sprint assignment</li>
<li>If Jira ticket creation fails, save the email details and report which ones failed</li>
<li>If sprint assignment fails, report the issue but keep the created ticket</li>
<li>If an email appears to be a duplicate request (similar subject to existing ticket), flag it and ask user before creating</li>
</ul>
]]></description><link>https://nodebb.chinanorth3.cloudapp.chinacloudapi.cn/topic/8/skills-email2jira</link><generator>RSS for Node</generator><lastBuildDate>Tue, 30 Jun 2026 05:47:05 GMT</lastBuildDate><atom:link href="https://nodebb.chinanorth3.cloudapp.chinacloudapi.cn/topic/8.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jun 2026 01:18:57 GMT</pubDate><ttl>60</ttl></channel></rss>