JQL to ignore text after comma in Smart Value?

Mario Licup August 24, 2022

Hello, I am setting up an automation rule that is making an api call to OpsGenie On-call Schedule, pulling the user email from {{webResponse.body.data.onCallParticipants.name}}, then assigning a ticket to {{webResponse.body.data.onCallParticipants.name}}. 

When there is an overlap in the on-call schedule (we have an hour between 6am - 7am of overlap) that Smart Value will contain two email addresses like this (nan@company.com, achoi@company.com). Therefore, the rule cannot work because the ticket cant be assigned to two people. 

Is there some JQL I can use to ignore text before or after a comma? 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events