Copy only date value from a DateTime picker to a Date picker field

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

The UI currently lacks a feature that allows users to directly transfer or copy the date and time information selected in the Date Time picker field to the Date picker field.

This KB outlines the steps to copy the date value from a DateTime picker to a Date picker field using Automation. 

Environment

Jira Cloud

Solution

Automation rules can copy the date value from the Date Time picker field to the Date picker field using a smart value.

Consider the requirement is to copy the date in the Planned Date (Date Time picker field) has to the New Date field (Date Type Picker field).

Here's how you can configure the rule: 

  1. Trigger: Choose the trigger according to your requirements. The example uses the Scheduled trigger to activate the rule, and the JQL filter is employed to identify the issues that need updating.

  2. Action: In the "Edit Issue Field" section, select the field that needs to be updated from the "Choose Fields to Set" section. In this example, select the "New Date" field, which is of the Date Picker type.

To copy the data from, for example, the "Planned Date" (a Date Time Picker field), use the following smart value:

{{issue.customfield_10119.convertToTimeZone("Asia/Kolkata").jiraDate}}

Here, 10119 should be replaced with the ID of the custom field for the "Planned Date."

The rule's audit logs can be used to identify the list of issues updated.

Updated on March 5, 2025

Still need help?

The Atlassian Community is here for you.