Forums

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

While creatiing Task issue type 2 date fileds are mandatory, fileds (QA due date, and prod due date)

mustafa sayead July 27, 2023

Hi Everyone,

When creating the task , for next 3 working days have to be blocked for QA due date, and 5 working days next blocked for prod due date field. 

Eg: if I create task today while providing the value on QA due date: I need to restrict the next 3 days dates.

Same for Prod QA date we need to restrict the value for next 5 dates.

Can you please provide the best approach for this requirement.

We have JSU,JMwe and script runner pulgins

Best regards,

MUSTAFA 

1 answer

1 accepted

0 votes
Answer accepted
Kseniia Trushnikova
Community Champion
July 27, 2023

Hi @mustafa sayead,

You can add JMWE Scripted (Groovy) Validator:

issue.get("Your field name").after(new Date() + 3)

This checks if the date is set to the next three days. Don't forget to replace Your field name with the name of your field QA due date.

mustafa sayead July 27, 2023

@Kseniia Trushnikova sure, thank you for your prompt response, will try and get back to you 

mustafa sayead July 31, 2023

Hi @Kseniia Trushnikova 

Soory for the late confirmation.. it's working fine.. Thanks a lot.💫

Cheers

Mustafa 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.22.2
TAGS
AUG Leaders

Atlassian Community Events