Hello everyone,
I’m currently stuck while trying to build an automation rule in Jira using Rovo and would really appreciate your help.
Goal:
Automatically assign a work item to a user based on an email address stored in a custom field (customfield_10145).
What I tried (based on Rovo guidance):
Create variable for email:
{{issue.customfield_10145.trim}}
Send web request:
URL:
https://intersportaustria.atlassian.net/rest/api/3/user/search?query={{emailAddress.urlEncode}}
Method: GET
Headers:
Accept: application/json
Authorization: Basic (base64 email)
Option enabled: Delay execution until response is received
Create variable for accountId:
{{webhookResponse.body.[0].accountId}}
Edit issue → Assignee using the accountId
Troubleshooting steps:
To debug, I added comments in the rule:
After email variable:
Debug email: {{issue.customfield_10145.trim}}
After web request:
Debug: webhookResponse status = {{webhookResponse.status}}
Debug: webhookResponse body = {{webhookResponse.body}}
Any guidance or working examples would be highly appreciated!
Thanks a lot!
