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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

172 views 0 4
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