Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 in the below screenshot, "The following screenshot contains sample data that must be copied to Due Date:

Image Added

Here, next due date" is  is a "custom Date " custom field whose value is set to 18/Dec/19. We will write Use a post function to copy this value when you do a transition. 

Image Removed

Here are the steps to follow 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 (Image Added) > Issues.
    Image Added   

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

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

  5. Anchor
    customFieldID
    customFieldID
    Custom field ID is shown as customFieldId from the URL:
    Image Added

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. To get the id of the custom field, please go to step 9. :

  1. Log in as an Administrator administrator into your Jira instance.
  2. 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.
  3. Click on the Project settings in  on the project Project page to administer the project:.Image Removed
  4. Go to workflows the Workflows section and click on the pencil icon adjacent to the edit the relevant workflow scheme:.
  5.  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:update the Done post function.
  6. Click on Click Post Functions, and then click on , click the pencil icon to edit the function.
  7. Click on Detailed Fields and then use the . Enter the substitution variable, %original_customfield_10300%in , 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 do perform the Done Transition in the JIRA Jira issue. As such

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

...

Please follow the below steps to get the next due date custom field ID:

...

Log in as an Administrator in your Jira instance.

...

Go to Issues from the top menu bar and click on Custom Fields
          Image Removed

...

.

...