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

Hi Sneha,

Is the field is custom field or system field?

Thanks,

Patina

Hi Patina, It is a date time picker which is a custom field Thanks, Sneha

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.

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

 

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,264 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot