How can I set the issue reporter based on display name?

Hi

I am currently sending an email to Jira from a generic account to create an issue.   Contained within the body of the email is the fullname of the person who is the reporter of the issue.

When creating the issue I would like use RegEx to extract the fullname of the reporter and then set the value of the reporter field.   I have been able to do this using the name (username) of the user but have not been able to find a way to do it using the displayName (fullname) of the user.

Below is the code I have been using to set the name

{

"fields": {

 

"reporter": {

"name": "jirauser"

}

Thanks

 

1 answer

This widget could not be displayed.
Scott Harwood Community Champion Aug 28, 2017

Hi Graham,

Unfortunately that is not possible at the moment due to the limitations of the JIRA APIs which only allow us to set user fields using either user "key or "username".

Scott. 

Thanks for your help

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

464 views 3 17
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you