Forums

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

Log the Manual Trigger user in Automation for Jira

Matt Sywulak September 16, 2020

Hey all I know you can log events in Automation for Jira using the smart values but I was wondering if there was a way to log the user who hit the manual trigger button? I know you can limit it to individual groups but I would like to log the user doing that action since all the actions only show "Automation for Jira" updating the issue based on manual trigger. 

1 answer

1 accepted

0 votes
Answer accepted
Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 16, 2020

Hi @Matt Sywulak ,

As far as i know and can see i don't see any out of the box method for seeing who activated the trigger in the audit log or activity history.

According to the documentation you should be able to run the rule as "the user who triggered the rule" but I don't seem to be able to change that.

Another workarround could be to set another edit issue action and have it write a custom logmessage in a comment with the name of the actual user (smart value)?

Matt Sywulak September 16, 2020

Yeah I think for the cloud you can only use the "Automation app user" as the trigger user as I cannot change that either. 

And that would be essentially the same thing, I think, I just don't know of a smart value that tracks the user who clicked the button. Unless I'm missing something simple.

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 16, 2020 edited

Well it seems there is a very specific smart value for this!

{{initiator}}

The user who triggered the rule.

{{initiator.displayName}}

 

Best tho to use {{initiator.displayName}} otherwise you'll just see the internal id which means pretty much nothing :)

By adding this on a comment with some pretext.. you could have a simple log in your comments

Like • mruttan likes this
Matt Sywulak September 16, 2020

Awesome, that worked - thank you!

Like • Dirk Ronsmans likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian community, journeys for jira service management, journeys for jsm, eap jsm atlassian, early access program atlassian, early access program journeys atlassian, early access program journeys jira service management, join atlassian eap

Join the Early Access Program (EAP) - Journeys for Jira Service Management 🚪

Journeys is a brand new feature in Jira Service Management that helps you streamline various processes in your organization that may cross multiple departments, such as employee onboarding or off-boarding that require action from different teams. ✨

Join the EAP →
AUG Leaders

Atlassian Community Events