I have a custom field called email address and and user data the same email address exists in jira assets, how do I assign that asset based on the custom field. I've done this with {{reporter.accountID}} but dont know how to do this for the customfield
Hi Justin,
I think you find that the reporter.AccountID, is the Atlassian ID, that everyone gets, and is unique.
What you need to do is in Assets, create an additional Attribute of type User, that can contain the Atlassian ID.
THen you need a routine that goes to Atlassian and gets the ID and you assign it to the User column, so you end up with:
So the AdeleV in the USer attribute, is the Atlassian ID.
If you then have the email address in the same row, you can look it up and assign.
So, how do you get the Atlassian ID's.
Have a look at this for an example, but its a little tricky at times, especially the Base64 authorisation that requires your email and you API key to the site.
Hope this helps.
Regards
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.