Forums

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

How to change reporter field based on Description field

chill
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 2, 2020

Our helpdesk receives quite a few requests via form emails. These form emails contain text such as "Staff Member" and "Staff Member's Manager", that should be easy to parse out of the body of the description. I see quite a few recommendations to add a plugin for parsing email, but I'd prefer to attempt to use our current subscription first.

 

Is there a way after the ticket is made to use Automate to pull text strings from the Description field and place it in other fields such as "Reporter"? In Automate I'm seeing ways to find text via RegEX, but not how to copy it into a field such as "Reporter" and "Watcher"

 

An example of one of these form emails is below:

 

Description:

"Jane Doe has submitted a request for an access badge

Manager:

Sarah Fakename

Department:

Finance"

2 answers

2 votes
chill
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 3, 2020

I will investigate, thanks! This does look fairly advanced to write a whole script, as it would involve using the REST API and a JSON script. I'm assuming this is why most people just buy the plugin? I have quite a few more members in confluence than Service Desk which would artificially increase the cost.

David Friedrich
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 3, 2020

Not necessarily as you buy jira apps only for jira and price is depending only on the jira user tier.

If you plan on achieving this via app, the way I see it, it could only be done by adding post functions in a custom workflow. JSU or JMWE could fulfill your requirements.

Maybe scriptrunner is also possible, but I am not sure about scriptrunner on cloud.

0 votes
David Friedrich
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 2, 2020

Hi Chill,

I'm not 100% sure and also not very familiar with JSON, but it reads as you could achieve that using "Advanced Field Editing" as described here:

https://support.atlassian.com/jira-software-cloud/docs/advanced-field-editing-json/

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