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.