Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JQL to ignore text after comma in Smart Value?

Mario Licup
Contributor
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