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 everybody,
In a Jira automation rule, I am trying to retrieve the "display name" of an "assignee id", so I can use the display name in the issues description field. I already checked a few documentation on Jira, but either the functions are deprecated or it'is just not working:
e.g.
https://docs.atlassian.com/software/jira/docs/api/7.1.6/com/atlassian/jira/user/UserKeyService.html#getKeyForUsername-java.lang.String-
Does anyone have any advice/ideas on that topic?
Hi @Manju and welcome to the community,
Use a smart value like {{issue.assignee.displayName}}
More on smart values can be found here https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
Hi @Alex Koxaras _Relational_ ,
thanks for the quick reply :)
I did try out this option but my problem is, that the "issue of interest" isn't accessable in the moment of request.
My use case is as follows:
I have a list of Jira user ids, which I use in a Jira automation rule to create issues for each of the users (with a for each action) based on an issue template I defined before (using the Deviniti Module):
The "More options" field in the "Create a new task"-Action is following:
My issue template has the issue.key = JTR-57, the newly created issues are in a Board starting with the key = AZE.
To be able to apply the method {{issue.assignee.displayName}} I need access to these newly created Issues. For some reason I can only access the Template issue (I checked with the logging, which issue keys are written to output). That's why I am looking for a convert-function or a getName-function to just convert the Jira user ids to its displayNames.
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.