Forums

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

Assigning the requester to a work request

Vander Bonachuck
Contributor
April 4, 2025

Hello everyone,

I have an app with a request form, when my users send a request, JSM is creating the request with my app as the "Reporter".

I need the reporter to be the email of the user which is passed on in a structured format in the body of the email, but I cannot find a way to parse the email body and set the "Reporter".

Hope I can get some direction on how to accomplish that.

For now I am using the Free Plan and running a trial on the Standard Plan but I am hoping, for now, to be able to do this under the Free Plan as I don't have any revenue yet.

Thank you,

Vander

2 answers

2 accepted

4 votes
Answer accepted
Tomislav Tobijas
Community Champion
April 5, 2025

Hi @Vander Bonachuck ,

You can try using automation for that, just a note that the free plan has its limits when it comes to rule executions.
Anyway, when it comes to automation, you can try using something like mentioned in the following discussion: https://community.atlassian.com/forums/Jira-questions/How-to-extract-an-email-address-from-issue-description-field/qaq-p/2413258 (it might need a little bit of tweaking)

On the other hand, if you have your own app, I would also recommend researching Jira REST API as you could, potentially, parse that content there (or maybe you even have a form field for the email?) and you could simply send that value as the request/ticket reporter field. 🤔

Hope this helps.

Cheers,
Tobi

Vander Bonachuck
Contributor
April 5, 2025

Thank you @Tomislav Tobijas  - The article you pointed to, gave me the basis for the expression I needed to make it work. Combined with the directions @Kai Krause provided, all is working as expected:

1 - Email comes in
2 - Work Request is created
3 - The rule parses the email to use and updates the "Reporter" field
4 - and as a result, my user is receiving the JIRA notfications and I don't need to go through the overhead of communicating with the manually via regular email.

Having said that, I looked into the REST API documentation and I will definitely integrate that into my app in future updates as it gives me many great features.

Much appreciated! Thank you both! @Tomislav Tobijas and @Kai Krause 

Like • Tomislav Tobijas likes this
3 votes
Answer accepted
Kai Krause
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.
April 5, 2025

Hi Vander,

 

To set the reporter of a request in Jira Service Management (JSM) based on the email body, you typically need to use automation rules. You can use smart values for text fields to parse out the data you are looking for and set it to the reporter field. Try to have have a look at the documentation here.  

The free plan  allows i think 100 automation rule runs per month. So you have to consider 

  • Trigger: Use the "Issue Created" trigger.
  • Condition: Check if the issue was created via email.
  • Action: Use the "Edit Issue" action to set the reporter field.

 

Since I don't know how your app communicates with JSM, it's relatively difficult to make a general statement here. How about using the JSM standard functions ?

 
BR
Kai

Vander Bonachuck
Contributor
April 5, 2025

Thank you @Kai Krause -- This is exactly what I needed. It is now working as expected.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events