Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing reporter own creation

Nick Dring
Contributor
May 24, 2018

I have an external app that we use to submit files for printing. We are taking the xml from that app and using it to create a JIRA Service Desk Request. 

But it seems that the reporter has to be the user authenticated with the API.

So, therefore, I need to change the reporter as soon as the Requets has been created to the user that submitted the file in the third party app.

So what I'm thinking of doing is to create a Custom Field called External Reporter which would be their email and then use that field to say to JIRA this is the reporter. The user that submits the ticket is always a service desk customer.

But what would happen if the user gets their email wrong? I guess the automation woudl fail if the user isn't present in JIRA. But I guess I could set up a notification email for myself that tells me when that happens!

Could this be done with automation?

Nick

1 answer

0 votes
andreas
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.
May 24, 2018

Hi Nick,

Yeah this should be possible. Your rule would simply be:

  • Trigger: Issue created
  • Action: Edit issue and add the reporter field and copy its value from your customfield (or use a smart-value of {{issue.Your customfield Name}} if it's just a text customfield)

Hope that helps.

And yes, if that user doesn't exist in Jira, then the edit issue action would fail and the rule would send you an error notification.

Cheers,
Andreas

Nick Dring
Contributor
May 25, 2018

Thanks for that! But if the field value coming from the external app is an email address will JIRA recognise it. If I ask people to put their names they may be a little different to what we have in JIRA but the email is always unique.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events