Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to assign a DUE DATE on transition...At a loss!

Jessica Schmor August 5, 2024

We have an assignee and due date. Despite JIRA assigning a user, I cannot get it to assign a due date when a transition occurs. I have tried a few things, and the best I can do is get the transition to fail and add an error message when the due date is missing. This is really not functional for our use, and it would be MUCH better if I could just assign a due date. 

 

The following will be processed after the transition occurs

1. Set issue fields 

 

For the current issue

Due date will be set to:
{{now.jiraDate}}
(unless the field already has a value) Run as current user. Execution logs : 0 errors and 0 warnings in the last 24 hours

2. Set issue status to the linked status of the destination workflow step.

3. Assign the issue to the current user. Please note that the issue will only be assigned to the current user if the current user has the 'Assignable User' permission.

4. Add a comment to an issue if one is entered during a transition.

5. Update change history for an issue and store the issue in the database.

6. Re-index an issue to keep indexes in sync with the database.

7. Fire a Generic Event event that can be processed by the listeners.

2 answers

0 votes
Jovin
Community Champion
August 5, 2024

Hey @Jessica Schmor 

Have you tried doing this on the Post Function for the transition?

  1. Open the workflow in edit mode on diagram view
  2. Select the transition you want this to apply to, then click on Post Functions
  3. Click on "Add a post function"
  4. Then choose "Update issue custom field"
  5. In the drop down set it to "Due date"
  6. For the value input %%CURRENT_DATETIME%%

Let me know if this helps!

Robert Condon
Contributor
February 17, 2025

Sorry to pick up this old thread. 

Is it possible to add a number of days to %%CURRENT_DATETIME%% in the transition, or does it need automation?

0 votes
Tomasz Kowalczyk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 5, 2024

First of all, check and confirm that current user has schedule issue permission. That permission is for editing Due Date

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events