
Documentation
Markdown Fields for JiraBrowse
Documentation
Markdown Fields for JiraSet Up a Field
A Markdown field is set up like any other Jira custom field. Each step needs the Administer Jira global permission. It takes about five minutes.
| Step | Where |
|---|---|
| 1. Create the field | Jira settings → Work items → Fields |
| 2. Choose the spaces and work types | The field's contexts |
| 3. Put it on the screens | Space settings → Screens (company-managed) or Work types (team-managed) |
| 4. Adjust the field settings (optional) | The app's settings in the field's context |
| 5. Check it works | A work item in the space |
You can create as many Markdown fields as you need, for example Spec, Acceptance criteria and Release notes. Each has its own spaces, screens, template and settings.
1. Create the field
- Click ⚙ Settings in the top right, then Work items.
- In the sidebar, open Fields and click Create field.
- Choose the field type Markdown. Search for "Markdown" if you don't see it; the type shows the app's icon.
- Enter a Name, for example
Spec, and an optional Description, which shows under the field. Click Create.
If Jira asks which screens to add the field to, tick the screens of the spaces that should use it and skip to step 4.
2. Choose the spaces and work types
A new field gets one context that applies to every space and work type. Keep it to use the field everywhere, or limit it:
- In Fields, open the field, then open Contexts. The ⋯ menu on the field's row also has Contexts and default value.
- Click Edit context on the default context.
- Under Spaces, choose Specific spaces and pick the spaces. Under Work types, pick the work types, or keep Any work type.
- Click Save.
To use different templates or settings in different spaces, click Add new context and create one context per group of spaces. A space can be in only one context of a field.
3. Put it on the screens
A field only shows on a work item when it is on the screens the space uses to create, edit and view work items.
Company-managed spaces
- Open the space, then Space settings → Screens. The page lists the screens for each work type.
- Click a screen's name. Jira opens the screen with its tabs and fields.
- At the bottom of the tab, click Select field, type the field's name and choose it.
- Repeat for every screen the space uses for Create, Edit and View. Many spaces use one screen for all three.
A screen can be shared by several spaces. Adding the field to a shared screen is safe: the field only shows in the spaces of its context from step 2.
Team-managed spaces
Team-managed spaces don't use contexts or screens. They choose their fields per work type:
- Open the space, then Space settings → Work types, and choose a work type.
- In the Fields panel on the right, find Markdown and drag it into Description fields or Context fields.
- Give the field a name and click Save changes.
- Repeat for the other work types that need it.
Service desks
- Jira Service Management portal: add the field to a request type's form in Space settings → Request types → the request type → Request form. The request type decides which fields customers see and fill in.
- Customer Service Management support sites: turn on Show to customers in the field's settings (step 4). See Field settings.
4. Adjust the field settings
Optional: the defaults have diagrams and math on and no template.
- In Jira settings → Work items → Fields, open the field and then Contexts.
- On a context, open the app's settings (Configure or Edit custom field config, depending on your Jira).
- Set Mermaid diagrams, LaTeX math, the Editor height, Show to customers and a Template for new work items. Click Save.
See Field settings and Templates and variables.
5. Check it works
- Open a work item in one of the field's spaces. The field shows in the Details panel or among the fields below the description. An empty field may be under More fields.
- Click the field, paste the example below and click Save.
## Login flow
- [x] Users can sign in with SSO
- [ ] Expired tokens return 401
| Case | Expected |
| --- | --- |
| Valid token | 200 |
| Expired token | 401 |
```mermaid
sequenceDiagram
App->>API: POST /login
API-->>App: 200 OK
```
$$
p_{95} \le 300\,\text{ms}
$$
- The field shows the checklist, the table, a sequence diagram and the formula. Click Wide in the editor for Markdown and preview side by side.
- Search for the work item with JQL, using the field's name:
"Spec" ~ "token". - Create a new work item in the space: the field starts with the context's template, if you set one.
If the field is missing
| What you see | What to do |
|---|---|
| The field isn't on the work item | Check the context includes the space and the work type (step 2), and that the field is on the space's view and edit screens (step 3) |
| The field isn't in the create dialog | Add it to the space's Create screen (step 3) |
| Not sure why it's missing | On the work item, click ⋯ → Find your field and type the field's name. Jira explains what's missing |
| A team-managed space doesn't offer it | Add it in Space settings → Work types (step 3), not in the global field settings |
| Diagrams or math show as code | Turn on Mermaid diagrams or LaTeX math in the field's settings (step 4) |
Next steps
- Writing in the field: the toolbar, the wide editor and pasting from GitHub
- Templates and variables: start every work item from the same structure
- Automation, REST and JQL: fill the field from rules and scripts
Stuck on something this page does not cover? Ask the developers.