Copy Assets User Object Field data to Approvers Custom Field

Sriharsha
Contributor
November 12, 2024

Hi team,

I have an assets custom field which fetches Users data. I need to set the value of this Assets field in Jira Custom field "Approvers" (multi-user) based on another Assets Field value which contains - X, Y, Z options.

We use Automation and ScriptRunner.

Please let me know if this can be achieved.

Regards!!

1 answer

0 votes
Tomasz Kowalczyk
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.
November 13, 2024

You need to pass an array of user keys to Approvers field as i remember. You can achieve this with scriptrunner. i think automation also. it depends of course on what kind of data you have in assets field. if u keep assets user object with mapped jira user on it you can get user and it's user key

Suggest an answer

Log in or Sign up to answer