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

aussiepresto August 28, 2017

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
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.
August 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. 

aussiepresto August 28, 2017

Thanks for your help

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events