Smart Value not working inside 'Assign issue'-component

Karl Gustafsson
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!
October 16, 2024

Hi,

I will begin by saying that I feel like I had this working last week...

Anyhow, I am trying to assign an issue to a user using the 'Assign issue'-component via a smart value. I have created this smart variable using the 'Create variable'-component and assigned it to a valid jira user id. 

I have verified that it is a valid id by inside the assign issue component adding the id in plain text (where its asking for a smart value) works. 

I can print my smart value, as expected. 

However if I try to use it inside the assign issue component then I get the following error:

"(Specified user does not exist or you do not have required permissions)"

See the attached screenshots for clarification.

Thanks in advance.

Smart value doesnt work.pngvalue works.png

2 answers

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 16, 2024

Hi Karl - Welcome to the Atlassian Community!

Try using Edit Issue instead of Assign Issue and select the Assignee field. Then put your smart value in there. 

0 votes
Marc - Devoteam
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.
October 16, 2024

Hi @Karl Gustafsson 

Welcome.

Can you add log actions after the create variable in the branch and how does the lookup table look like? 

Also what does the audit log on a rule execution tell you.

Bill Sheboy
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.
October 16, 2024

Hi @Karl Gustafsson -- Welcome to the Atlassian Community!

Yes, and...to Marc's suggestions:

Perhaps update your audit log write for the user variable to more easily see if there are leading / trailing characters in it, thus preventing the assignment:

user: ZZZ{{jiraUser}}ZZZ

Kind regards,
Bill

Like Karl Gustafsson likes this

Suggest an answer

Log in or Sign up to answer