Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,356
Community Members
 
Community Events
168
Community Groups

Set due date to equal custom date field

For employee onboarding requests, I would like to set the ticket Due Date to be equal to  my custom date field, Employee Start Date. I am trying to use automation to edit the issue on create, however the due date keeps ending up NULL. 

Edit issue:

Choose fields to set: Due date

Due date:

Copy Employee Start Date from Current issue

How can I set the due date to be equal to a custom date field?

2 answers

0 votes

Hi @Rebecca Molstad , will the following work?

Use smart values - {{issue.custom field}} - replacing "custom field" with your field name.

I tried both {{issue.Employee Start Date}} and {{issue.customfield_10037}} and no luck!

0 votes

@Rebecca Molstad -

Have you look into the audit log associated with your automation rule to see if there are any problems?

Secondly, who is the actor running the automation rule?

Lastly, Due Date field population requires (Schedule issue permission).

Please let me know what you find out from the audit log first.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

The audit log shows that everything ran successfully. The automation is triggered upon creation of the request, which typically is entered in our support portal by an end user (non-agent). Schedule issue permissions is set up for:

  • Project Role (Administrators)
  • Project Role (atlassian-addons-project-access)
  • Project Role (Service Desk Team)
  • Service Project Customer - Portal Access

Can you share your automation rule setup?

Best, Joseph

@Rebecca Molstad -

Try the following setup - When you set Due Date field value via Copy operation, can you try "Copy xxxx from Trigger issue")  instead of current issue?

2022-08-11_13-42-58.png

In my example, customer will enter in a value in a field named "Event Date", and my rule copy the value from it and populate the Due Date field.

Hope this helps.

Best, Joseph

Suggest an answer

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

Atlassian Community Events