Overview
I'm using a Jira Cloud app (Relay Intake Forms) to create rich external forms to submit to my Service Desk.
Issue
One of the downsides of that app seems to be no field mapping for reporter. So all issues created via the form are from a single app-created user.
I obviously want my users to be able to access the issues they created, so I need to change the Reporter to who is actually submitting these forms.
Failed Resolution
I created a custom field for "user email". I'd like to create an automation that upon issue creation, changes the reporter to the contents of the custom field "user email".
I'm not too hip to the exact code I should be using (or if this is even possible).
Here's what I tried under advanced:
{
"fields": {
"reporter": {
"emailAddress": "{{customfield_116130}}"
}
}
}
How far off base am I? 🙂
Here's my automation, I have a precondition that first adds the customfield for the username and email address as a customer to Jira Service Desk (this part works!).
Then it checks if the reporter is the "system defined user" from the other app I use for user forms. If it is, then change the user to the customfield for emailaddress.
I've tried various ways of inserting the reporter (email address, name, key) and none have worked. It currently is successful on editing the issue field and changing the reporter, but the reporter now shows as "Anonymous" in the issue..
You have ability to edit JIRA source files and be able to maintain your changes through JIRA upgrades?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.