Hi There-
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.
Thoughts?
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.
Kind regards,
Bill
Hey @Bill Sheboy it is a User in a project Role. So would it be calling the project role by ID or by name?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
https://codebarrel.atlassian.net/browse/AUT-279
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:
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.