Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Need help assign asset based on custom field

Justin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2024

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 

1 answer

0 votes
Mark Higgins
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 31, 2024

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.

Screenshot 2024-07-31 172344.png

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:

Screenshot 2024-07-31 172254.png

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.

https://piosoftware.atlassian.net/wiki/spaces/WS/pages/22937661/Mapping+Azure+AD+Users+with+Jira+Users+and+Jira+Groups

Hope this helps.

 

Regards

 

Mark

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events