Skip to main content

Setting up Jira Server Integration

info

This is the Jira Server and Data Center (on prem) integration guide. While this link format also works for Jira Cloud, customers on our Scale and Enterprise plans may also use our native Jira Cloud integration. In addition to creating issues, it shows you Memfault issue details in Jira, and can also sync issue resolution states from Jira to Memfault.

This guide covers how to set up the Jira Integration with Memfault so that a user can quickly and easily create new Jira Issues from Memfault Issues.

Edit Project Settings

The first thing to do is to navigate to the Memfault Project Settings page. Under General → Integrations, hover over "Add" and select Atlassian Jira.

You should see the screen below.

In each field, input the following:

Instance URL

This is the URL of the Jira instance. If it is hosted by Jira, it is likely https://company-name.atlassian.net/

Parameters for /secure/CreateIssueDetails!init.jspa

  • To find the Jira Project ID, or pid, you can follow the instructions here.
  • To find the Issue Type ID's, login to Jira in the browser and then navigate to https://<jira-instance-id>/rest/api/3/issuetype to find the ID's. When the response is returned, the desired field is labeled id.
{
"self": "https://memfault.atlassian.net/rest/api/3/issuetype/10004",
"id": "10004",
"description": "A problem or error.",
"iconUrl": "https://memfault.atlassian.net/secure/viewavatar?size=medium&avatarId=10303&avatarType=issuetype",
"name": "Bug",
"subtask": false,
"avatarId": 10303
}

For example, if the above response was returned, issuetype=10004 for a 'Bug'

Create a Jira Ticket From a Memfault Issue

To try out the new integration, navigate to a pre-existing issue and look for the new button in the top right of the Issue details page.