Using custom field value for Automation - Assign as owner of new issue in another project

Tony Morrison July 25, 2024

I am using Jira Business Management (Team managed project) to handle some of my onboarding process needs. In those issues, I have added a custom field for the "Hiring Manager" using the "people picker" option in Jira.  The custom field smart value is ({issue.customfield_12649.displayName}} as I'm using it to generate email notifications, etc.

My issue is: I'm using automation to generate a ticket in Jira Service Management for that team so they can take care of related items and issues. I'm trying to set the "Reporter" of that ticket to this custom field so they can immediately start communicating with the right person. The default owner is the automation process.

When I use the smart value of {{issue.customfield_12649.displayName}} and try to "set" the Reporter to that value, it does not work. However, I'm using the same smart value to populate the initial comment in the ticket and it works fine there.

Anyone have an idea on what I may be missing here?

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
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 25, 2024

Hello @Tony Morrison 

Try using the accountId attribute instead of displayName.

Tony Morrison July 26, 2024

That did the trick, thanks!

Like Trudy Claspill likes this

Suggest an answer

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

Atlassian Community Events