Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I access user profile data in automation

I’m trying to set up an automation that uses an issue creator’s department (from their profile) to set a custom field but can’t seem to get it working. 
So far I’ve tried a bunch of smart tags in the json such as {{reporter.department}} and it shows success in the audit but clearly the tag is wrong as it’s still blank in the target field.

any help would be greatly appreciated 

1 answer

1 accepted

Hi @Michael Wood 

I don't think you can access the Reporter's profile from the Automation Issue Smart Value. The user profile is not stored in an issue.

I found the Cloud User Management REST API, Get Profile. But, the user who executes the REST API must have permission to update and deactivate the accounts owned by your organization. So, before you try the above REST API:

  • You must be the Organization Admin of the instance
  • You must claim the domain
  • Once the claim is successful, you will be able to manage all Atlassian accounts under the claimed domain
  • Then, you will have the permission to run the Jira User Management REST APIs
  • Automation also has a rule to "Send web request". So, you can use the REST API and process the response accordingly in the automation rules.

I hope the above answer helps!



@Marini Marini This worked a treat. The only issue I encountered was with the documentation for smart fields. 

The docs stated to use {{reporter.accountID}} but it actually has to be {{issue.reporter.emailAddress}} on this Link 


Thank you for your response, this has been causing me a bit of frustration and this was easy to do with your answer

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

327 views 0 10
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you