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

JSM Duedate

髙木 陽菜 June 25, 2024

Is it possible to create a form that the Due date will be automatically 30days after the ticket is made??

1 answer

1 accepted

0 votes
Answer accepted
Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 25, 2024

Hi @髙木 陽菜 , welcome to the Atlassian Community and thanks for your question.

You can use an automation for this. Please check out this example rule from the Automation Template Library - https://www.atlassian.com/software/jira/automation-template-library#/rule/1357059/25937333 

Hope this helps you.

Cheers

髙木 陽菜 June 25, 2024

Thank you for your answer!! 

I have one more question. 
Can I create a rule so that when a customer enters a due date in a form, they can only select a date that is 30 days after from the current date?

Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 27, 2024

Hi @髙木 陽菜 , thanks for your feedback.

Usually, if you want to do some action / validation in the create screen, or in this case, within the request form, before it is submitted, you would need to use a behaviour for this, in Scriptrunner -https://docs.adaptavist.com/sr4jc/latest/features/behaviours 

I did check as well, if you use a JSM form, instead of the Request Form, there does seem to be this possibility here 

image.png

To specify for a date field, the earliest / latest date, but I am not sure about what, if any, syntax you could put in here to say, the earliest date (in this case, for an event) would be in 1 month or 6 months or whatever, to specify the lead time required for planning.

Please try out the forms and / or Behaviours and see if you can get what you need.

If you have more questions, we are always here to try to help.

Cheers

Suggest an answer

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

Atlassian Community Events