Hello everyone,
I need to include a date field when creating a request type. When a customer opens a ticket through my portal, I would like there to be a date field that indicates the first available date is the Wednesday following the current day. Example: I open the request type I want to use, and after filling out the required fields, I see a date field that already shows the Wednesday following the current date. So, this happens before the request is actually created.
Is this possible?
Thank you very much
Hello @Gianluca Boezi
Welcome to the Atlassian community.
Is your project Company-managed or Team-managed?
I ask because there is a new Formula Custom Field type available, but so far only for Team-managed projects. Currently in only supports math operations, but coming soon it is supposed to support date operations.
If you are using a Team-managed Service project then you might be able to use that soon.
More information can be found here:
Hi @Gianluca Boezi
Welcome to the communiry!!
I don't think Jira Service Management support's that out of the box.
and yes, you can add a date field to the request form, but you can’t automatically display a dynamic value such as "next Wednesday" before creating the ticket. Default values are static, not dynamic, i.e., they are not based on the current date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello and welcome to the Community @Gianluca Boezi
On a JSM Cloud request type, you can either show the field on the portal, or use “Use preset value and hide from portal” to fill it with a preset value. That works for a fixed value, but I do not see a native request-form option that dynamically calculates something like “next Wednesday” and shows it to the customer before they submit the request.
So if the date only needs to exist after the request is created, I would use Automation and calculate it there with date smart values. That part is supported and straightforward.
If the customer really needs to see that calculated date before submit, the closest workaround I know is a pre-filled portal URL where the value is passed into the request form up front.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.