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
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
I am trying to update a User Select custom field at the time of the creation of a ticket from a project role. I have a custom field Project Manager and a Project Manager role. I want to copy the user from the Role into the custom field.
I am either hoping to do it via post function (change %%CURRENT_USER%%) or via the Automation rules in Cloud.
Where is the information about your "Project Manager Role" stored: an issue field, Jira Group, entity property, etc.?
If it is any of those you could use an automation for Jira rule. To access a Jira Group you would need to call the REST API from the rule to get the user's account ID. For the others (issue field or entity property) you should be able to access the data with rule actions.
In that case, I do not believe this is directly possible yet...according to this suggestion to add accessing project roles from within automation rules:
One work-around would be to call the REST API with a web request from the rule to get the role information with this method: