Is there a way to retrieve the user team information in order to populate the team field automatically?
Hi @Moises
No, that is not possible from an automation rule at this time.
Rules use the REST API and there is no public endpoint to get the Teams for a specific user. These are the ones available: https://developer.atlassian.com/platform/teams/rest/v1/api-group-teams-public-api/#api-group-teams-public-api
Here is a suggestion to add that endpoint, which you may watch / vote for to see progress: https://jira.atlassian.com/browse/JRACLOUD-83728
A brittle workaround if you knew all of the possible teams is calling to get the user members of each team and then compare them to the user's accountId value.
Kind regards,
Bill
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.