This article gives step by step This article contains instructions on how to copy the value of Next Due Date custom field into the Due Date field by using the Create on Transition app.
Instructions
For example, following is a custom field called "next due date"(custom field type is date) and its The following screenshot contains sample data that must be copied to Due Date:
Here, next due date is a custom Date field whose value is set to 18/Dec/19. Use a post function to copy this value on transition.
Use the following instructions to know the ID of the custom field whose value is to be copied:
Log in as an administrator in your Jira instance.
Select Cog menu ( > Issues.
Select Issues from the top menu bar and click Custom Fields.
...
...
Search for the next due date custom field, select Cog menu ( > Configure.
Custom field ID is shown as customFieldId in the URL. Note just this parameter and value pair as shown:Anchor customFieldID customFieldID
Use the following instructions to update the post function in a workflow and copy the "next due date" the custom field value into the due Due date field:
- Log in as an Administrator administrator into your Jira instance.
- Select Projects from menu bar and click on the project name. If the project is not visible from the drop-down, click on click View all projectsand , and, select the relevant project.
- Click on the Project settings in on the project Project page to administer the project:.
- Go to workflows the Workflows section and click on the pencil icon adjacent to the edit the relevant workflow scheme:.
- Click on the transition , that has the Post Function with the post function to be updated. For As an example, Done is the Post Function
in the below screenshot: - Click on Post Functions and then click on the pencil icon.
- Click on Detailed Fields and then set the substitution variableupdate the Done post function.
- Click Post Functions, and then, click the pencil icon to edit the function.
Click Detailed Fields. Enter the substitution variable, %original_customfield_10300%in , in the Due date field. As such, when you click on the Done status in . Note that this custom field ID was copied from the URL from step 5 in the previous section.
- Publish the Workflow and perform the Done Transition in the Jira issue.
Thus, when you click Done in the Jira issue, the value of the custom field, next due date, is copied
...
to the
...
required, Due date, field in the corresponding issue.