Forums

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

Date Compare Validator with minutes

Artem Zavyalov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 28, 2019

Hi, im currently configuring a workflow for our Tasks.

I need to disallow issue transition if last transition happened less than 30 minutes ago.
I tried to use "Date Compare Validator" to compare Update Date with current date - 30 minutes. But im failing to write correct Expression to make it work.

I will appreciate any help.

1 answer

0 votes
Jamil Rahimov
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.
March 28, 2019

@Artem Zavyalov 
datePart(ID OF Update Date,LOCAL)>(datePart(ID OF Current Date,LOCAL) - 30*{MINUTE})


Let imagine ID OF Update Date is {00133} and ID OF Current Date is {00134} it will be in this format:
datePart({00133},LOCAL)>(datePart({00134} ,LOCAL) - 30*{MINUTE})

Jamil Rahimov
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.
March 28, 2019

@Artem Zavyalov 
Вы можете использовать это для более подробной информации:
https://apps.decadis.net/display/JWT/Expression+Parser

Artem Zavyalov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 28, 2019

Thank you for your reply, but we do not use Jira Workflow Toolbox in our project.
Date Compare Validator is a standard Jira Workflow Validator.  

Suggest an answer

Log in or Sign up to answer