Jira automation plugin to update a date/time field

We have issues scheduled to be created every morning at 8am. We want the due dates on those to be set automatically, to be precise date as the day issue is created and time is fixed for each issue.

We tried using the Jira automation plugin for it. The audit log for the plugin says it executed the transition but when I look at the issue the field does not show up. My screen has the field in it and create, view as well as edit screens have that field. Can anyone help me with this? What am I missing here?

5 answers

This widget could not be displayed.

Hi Sneha,

Is the field is custom field or system field?

Thanks,

Patina

This widget could not be displayed.
Hi Patina, It is a date time picker which is a custom field Thanks, Sneha
This widget could not be displayed.

Please check in the custom field configuration. Is this field is configured with your project? or the customfield configured for global to all projects?

Hi Patina,

The field is only configured for my project and not globally for all. Thanks.

This widget could not be displayed.

As I just stumbled upon a quite similar challenge, I found following description within the Automation plugin:

  • You can use the default fields, like: $issue.summary, $issue.description and $issue.assignee.name
  • You can use custom fields, by providing their ID, for example: $customfields.get(10000)
  • To assign a value to a customfield, you can use: customfield_10000=Example: $issue.summary
  • To prepend a value from a customfield before the summary, you could do use: summary=$customfields.get(10000) $issue.summary
  • Text and number fields are currently the only supported custom fields

So it seems, date fields are simply not supported... currently sad

 

This widget could not be displayed.

I got the similar request and faced the similar challenge that Automation plugin doesn't work with a date field. I tried to get $issue.duedate to copy the current value of the issue due date, but the target field got only the text, literally exact text string of '$issue.duedate'

How can we get the value of $issue.duedate in JIRA Automation rule, anyone know?

Thanks

I figured out that 

customfield_xxxx=$issue.dueDate

will work, even though the format text will be YYYY-MM-DD HH:MI:SS.F

and we can not change it

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

528 views 23 15
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you