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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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