Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

カスタマイズした期限でアラートが飛ばない

倉持 翔 November 16, 2023

タスクが期限に近づく → メール リマインダーを送信するの自動化を有効化し、メールは飛んでいるが、カスタマイズした日程で送信されない

最初のJQL

duedate <= 9d AND statusCategory != done AND assignee != empty

次のJQL

duedate <= endOfDay({{numberOfDaysBeforeDueInclusion}}) AND statusCategory != done AND assignee = {{distinctAssignee}}

 

9日前に送信したいがされない現状なので設定値が合っているか教えて頂きたい

 

image.png

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 16, 2023

Hi @倉持 翔 

The rule seems to be using a Create Variable action to set the value of {{numberOfDaysBeforeDueInclusion}}

Created Variables are text and not numbers, and so to use that variable in the JQL it must be converted into a number with the function asNumber: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#asNumber

And when comparing to the advanced branch variable, please try using the accountId for comparison if that variable is a user.

duedate <= endOfDay({{numberOfDaysBeforeDueInclusion.asNumber}})
AND statusCategory != Done
AND assignee = {{distinctAssignee.accountId}}

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events