I am trying to add logging info into a custom field on my issues in Jira Software.
I want to track who transitions an issue, when they transitioned the issue, and any comments they added to the issue in a custom field.
Using automation (trigger is the transitioning of an issue) I want a custom field to populate the name of the individual who transitioned the issue, the date it was transitioned, and any comments that were added by that user.
I am still pretty new to Jira so any help would be appreciated, thank you!
Hi Maggie,
The smart value that you are looking for is {{initiator.displayName}}, that will give you the name of the use that triggered the automation.
Thank you so much. Do you know the Jira Smart Value for the date it was transitioned?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That would be {{issue.updated}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to figure out the date:
{{now.shortDate}}
https://confluence.atlassian.com/automation/jira-smart-values-date-and-time-993924864.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maggie can you explain how you stored the value in a custom field? so did you e.g. do sth like this with the audit log action in automation?
{{issue.customfield_10929}} = {{initiator.displayName}}
I want to store the username in a custom field but somehow this is not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mikael Sandberg is there a way to capture just the first name of the user as {{initiator.displayName}} prints the full name?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Troy This smart value should do it, {{initiator.displayName.split(" ").first}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.