Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Permissions to execute Automation rule

Ryan Willms
Contributor
November 23, 2022

I am a JIRA Admin. Within a ticket for my project I can accomplish any task without issue. However, I am unable to do a very simple re-assign through Automation.

Rule: 

When: Issue transitioned to

"Lead QA"

Then: Assign the issue to

"{{Lead.displayName}}"

 

In the ticket, I am in the Lead field.

 

With the Actor as both "Automation for Jira" or as myself, I get this error in the Audit Log:

Assign Issue

Error assigning issues

        PROJ-1: (Specified user does not exist or you do not have required permissions)

 

Thoughts on how to get this working?

2 answers

2 accepted

0 votes
Answer accepted
Walter Buggenhout
Community Champion
November 23, 2022

Hi @Ryan Willms and welcome to the Community!

To set the assignee, you should not use the displayName, but rather that users accountId. I am not sure if that property is available for the Lead smart value, but if it is, you could try this instead:

{{Lead.accountId}}

Haven't tested this, but hope it helps!

Ryan Willms
Contributor
November 23, 2022

This worked! Thanks so much!

Like # people like this
0 votes
Answer accepted
Kristján Geir Mathiesen
Community Champion
November 23, 2022

Hi @Ryan Willms and welcome to the Community.

You need to specify the ID of the user, not the name/label. See here

Similar to this:

Notification_Center.png

HTH,
KGM

Suggest an answer

Log in or Sign up to answer