Hi.
I have a portal with a User Picker. Once the form has been submitted, I want the email address of the user to populate another field after ticket creation. Is this possible?
We are using LDAP and these are all internal users.
Example form:
Subject: Test ticket
User picker: Marius Skoglund
Description: Text
Example ticket:
Subject: Test ticket
User picker: Marius Skoglund
Email address: marius.skoglund@emailaddress.com
Description: Text
Hi Marius,
You should be able to do that with the Automation For Jira app as well. There is a free Lite version and a paid Pro version.
Hi, I have tried this, however when specifying where to copy the information from, I cannot find the User Picker as a field to copy from.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Instead of using the Copy from process, click the 3 dots to the side and chose Set value.
Then type this in the space: {{issue.User Picker.emailAddress}}
where User Picker is the exact name of your custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, John. This did indeed work, and was a lot easier than other methods I have been trying.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Are you using ScriptRunner?
If so, you can create a custom script field and retrieve the user's email address from the user picker field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again, sorry for the long response time. I do use scriptrunner, and have tried this without luck. I am new to Jira administration and an absolute beginner with scripts. What examples or templates I have found so far online does not yield any results, so I am not sure where to start.
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.