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

0 votes
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 Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

442 views 8 26
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