Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Jira tickets via API for non-Jira users to enable email notifications

Laureline
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 24, 2023

Hello,

I'm developing a .NET application that interfaces with JIRA's REST API using HttpClient.

We're needing to create tickets on behalf of users who do not have JIRA accounts, using only their email addresses. This is to enable email notifications about the ticket, without requiring these users to engage with JIRA directly. The behaviour I would like to replicate which is possible through the web interface is creating an issue on behalf of + email address. 

I'm facing challenges in configuring the JIRA API to allow issue creation in this way, specifically with setting the reporter field to an email address rather an existing accountId. So far I've been able to create issues 1- anonymously, 2- from the authenticated user, and 3- on behalf of a default "App User" account, trying to overwrite the email address associated with the account with the app user email address. Although the issues post successfully to our Jira Service Service Management project, the app user email address is not the one Jira uses to then send email notifications. 

How can I create issues through the API that allow JIRA to send notifications to these non-JIRA users using their email addresses?

Many thanks,

Laureline

2 answers

0 votes
Prince Nyeche
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2023

I believe your focus should be customer notifications and not Jira notifications as that would require that these users are licensed users. Also, this user must exist as a customer within JSM, for customer notifications to be sent to them if you're using a JSM project template. If you want to send a Jira notification, it is not possible for non-Jira users

0 votes
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 24, 2023

Hello @Laureline 

Jira Service Management (JSM) is not Jira which is not Jira Software... they are three different products, each with their own REST APIs for doing specific things.

JSM has its own REST API endpoints for managing customer requests. Refer to the Create Customer Request endpoint.

Suggest an answer

Log in or Sign up to answer