You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
When any logged-in user moves the issue status from 'Pending' to 'Work-In-Progress,' I plan to add an auto remark to the internal note section. For example, if user 'George1234' moves the issue status from 'Pending' to 'Work-In-Progress,' the name 'George1234' is added to the internal note area.
What is the best approach to identify the current user and make it a variable/smart-value?
Thanks,
Somnuek
Hi @Somnuek Hongcharoenkul and welcome to the community,
There are three approaches with which you can accomplish that:
If you want to do it via workflows, then could follow the approach of @Pramodh MIn this case you will only get the last person who made this transition, because this value will be overwritten.
With Jira Automation, you can create a rule and define within the scope of the project, to update a field (multi line text) and add with each transition the user's name to that field. Editing this field with advance editing you can add this code to retrieve the current user:
{
"update": {
"customfield_XXXXX": [{
"add": {{initiator.accountId.asJsonObject("id")}}
}]
}
}
It is not clear to me however from your question, what exactly is the internal note. Is it a field? Most likely yes. But what kind of field? Do you want to keep only one value or many? In which transitions you want this to occur? All of them or some of them?
Create a User Picker Custom field and add the post function in transition from one status to another to populate the field with the current user option as below shown
You also need to add the field in the Screen to show who made the current transition if in case that is required.
FYI,
This is already recorded in Jira and you can search the issues who made the transition from one to status to another using Advanced JQL.
Thanks,
Pramodh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Especially this last point:
This is already recorded in Jira and you can search the issues who made the transition from one to status to another using Advanced JQL.
I would urge you to use the build in feature instead of adding another automation to the system while it is already being recorded any way.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.