Inactive user issue when building an automation

Michelle Rose
Contributor
July 24, 2023

I'm building an automation that's working as expected except I'm trying to add a part where the reporter of the new epic is the person who triggered the automation. I know I got the smart value part right because the right person's name shows up in the audit log each time, but the error "inactive user" still shows up (and the reporter's name is Anonymous in the new epic). The admins have looked at our permission settings and we know that's not the problem - has anyone else run into this?

 

inactive user.png

1 answer

1 vote
Kai Becker
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 24, 2023

Hi @Michelle Rose 

thanks for your question. First think I would check is:

  • does your user that is the role actor have the permission to assign issues?
  • does your user have the permission to get assigned?

Could you please post a screenshot of your rule and the assignment part?

Michelle Rose
Contributor
July 24, 2023

I just checked the project permissions and yes to both of your questions. However when I looked at the reporters section I saw this:

modify reporter.png

Could this be the issue?

@Kai Becker 

Michelle Rose
Contributor
July 24, 2023

Here is the part in the automation:

reporter smart value.png

Like John Funk likes this
Michelle Rose
Contributor
July 24, 2023

@Kai Becker Well I just tried adding every permission imaginable to the "modify reporter permission" and I'm getting the same "inactive user" error message.

Like John Funk likes this
Michelle Rose
Contributor
July 31, 2023

@Kai Becker Are you able to help me troubleshoot more or can someone else help?

Majken Longlade
Contributor
September 26, 2023

A bit late, but I think the problem is the .displayName in your smart value, just use {{initiator}} and it will get the user ID, which is what it needs.

Like # people like this
Monica Brazelton
Contributor
November 17, 2023

@Majken Longlade Thank you for your suggestion, it worked for me!

I was using {{initiator.displayName}} and running into the same error. The audit log for the automation rule showed it running successfully, but the initiator's user name wasn't showing up in the field. I changed it to just {{initiator}} and it worked, now the initiator's user name appears in the field I wanted.

Thank you again, much appreciated!

Like # people like this
Majken Longlade
Contributor
November 20, 2023

Glad to hear! For anyone else who comes along, what's going on is that while user picker fields show you the username, the selection is based off the user ID. When you manually fill in a user picker it lets you search by username, but when you make a selection from the list it's setting the user ID as the actual input into the field. So when using Automation rules or APIs with user picker fields, you have to give it the user ID. 

Generally when you're copying from one field to the same type of field, you don't want to add any parameters to the smart value. That's only useful if you're trying to eg take the email address from a user picker field, and put it in an email field.

Monica Brazelton
Contributor
November 20, 2023

Ah, thanks @Majken Longlade that makes a lot of sense. I really appreciate the context!

Like Majken Longlade likes this

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