Automate creation of Jira User Stories from your files
This note shows 2 simple ways to create Jira stories with AI:
txt block inside your note@file:///...Make sure your Jira tools are available in this note. π Install the Atlassian plugin π§©
You can use AI to:
π‘ Attachments support
User stories can include attachments (images or links) written in Markdown.
Example:

[Spec](./spec.pdf)
π When creating the Jira issue:
Example:
["/path/to/mockup.png", "./spec.pdf"]
#### Summary
Demo - Create a login page
#### Description
As a user, I want to access a login page so that I can authenticate on the platform.
##### Acceptance Criteria
- Display an email field
- Display a password field
- Display a "Sign in" button
- Display an error message if credentials are invalid
##### Attachments

Read the user story from block @us_demo and create it in Jira in project WEGRC as a Story.
Use:
- the content of "Summary" as the summary
- the content of "Description" as the description
If attachments are present:
- extract file paths from Markdown images or links
- pass them as an array of file paths to the "attachments" field
Return the created Jira key.
π‘ The file can contain one story or multiple stories.
Read the content of file @file:///path/to/file.txt and create each user story found in Jira, project WEGRC, as a Story.
For each user story:
- use the title as the summary
- use the rest of the content as the description
If attachments are present in Markdown:
- extract file paths from images or links
- pass them as an array of file paths to the tool
At the end, return the list of created Jira tickets.
Here is an example of what /path/to/file.txt could look like:
#### Summary
Demo - Reset password
#### Description
As a user, I want to reset my password so that I can regain access to my account.
##### Acceptance Criteria
- Enter email address
- Receive a reset link by email
- Set a new password
##### Attachments

---
#### Summary
Demo - View user profile
#### Description
As a logged-in user, I want to view my profile so that I can check my personal information.
##### Acceptance Criteria
- View first and last name
- View account email
- View saved preferences
##### Attachments
[Profile spec](./profile.pdf)
You can adapt the AI prompt to:
π This makes it easy to go from draft note β structured Jira tickets with attachments
| Tool | Parameters | Description |
|---|---|---|
getJiraIssue | issueIdOrKey | Fetch a single issue by key |
searchJiraIssuesUsingJql | jql | Search issues with a JQL query |
getVisibleJiraProjects | maxResults | List accessible projects |
createJiraIssue | projectKey, summary, description, issueType, attachements | Create a new issue |
updateJiraIssue | issueIdOrKey, fields, attachements | Update fields on an existing issue |
addCommentToJiraIssue | issueIdOrKey, comment | Add a comment to an issue |
getJiraIssueTransitions | issueIdOrKey | List available status transitions |
transitionJiraIssue | issueIdOrKey, transitionId | Move an issue to a new status |
Show me the ticket PROJ-83
List all open issues in PROJ created this week
What projects do I have access to?
Create a bug in PROJ: login page crashes on mobile
Update the priority of PROJ-12 to High
Add a comment on PROJ-42: Fixed in v2.1
Move PROJ-42 to Done
Try adapting this note to your own workflow:
π Your note can become your Jira assistant