Skip to end of banner
Go to start of banner

How to fill Due Date field with a custom field value using the Create on Transition app

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Current »

This article contains instructions on how to copy the value of Next Due Date custom field into the Due Date field using the Create on Transition app.

Instructions

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:

  1. Log in as an administrator in your Jira instance.

  2. Select Cog menu () > Issues.
       

  3. Select Issues from the top menu bar and click Custom Fields.

  4. Search for the next due date custom field, select Cog menu () > Configure.
      

  5. Custom field ID is shown as customFieldId from the URL:

Use the following instructions to update the post function in a workflow and copy the custom field value into the Due date field:

  1. Log in as an administrator into your Jira instance.
  2. Select Projects from menu bar and click the project name. If the project is not visible from the drop-down, click View all projects, and, select the relevant project.
  3. Click Project settings on the Project page to administer the project.
  4. Go to the Workflows section and edit the relevant workflow scheme.
  5.  Click the transition with the post function to be updated. As an example, update the Done post function.
  6. Click Post Functions, and then, click the pencil icon to edit the function.
  7. Click Detailed Fields. Enter the substitution variable, %original_customfield_10300%, in the Due date field. Note that this custom field ID was copied from the URL from step 5 in the previous section.

  8. 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.

  • No labels