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,293,445
Community Members
 
Community Events
165
Community Groups

Defaulting a Due Date to two weeks in the future.

Okay, first off I am very new to the Jira Services Desk admin role.

I am trying to default a custom Due Date field to be 2 weeks in the future if the user has not entered their own due date.

If someone can explain this to me in very simple terms, that would be great. 

Thank you very much!!!

2 answers

the automation tool is pretty nice. It has helped me set dates and other data elements automatically .

0 votes
John M Funk Community Leader Apr 06, 2020

Hi Donald - Welcome to the Atlassian Community!

You can do that with the free tool called Automation For Jira inside of Jira. Create a rule to Edit an Issue. 

Then set the Due Date to this: {{triggerIssue.now.plusDays(14)}}

I am unable to download any apps at this time.  Is there anyway to do this in Jira Service Desk itself without an add on.

John M Funk Community Leader Apr 06, 2020

There's nothing to download - just go to the project > Settings for the project you want to implement this on. Then choose Project Automation on the left nav towards the bottom. :-)

image.png

So this is what I have so far, but where do I put the script from your example.  The field I am given only accepts a date format.  What step am I doing wrong?

John M Funk Community Leader Apr 06, 2020

Ah, that looks like a very limited version of the tool. Let me see if I can track down the full tool. Shouldn't require a download, but it might require in install to your Jira instance which must be done by a Jira Administrator. 

We are currently on a non production trail version.

image.png

John M Funk Community Leader Apr 06, 2020

Hey Donald - It looks like you might be using the old built in Automation tool. Is this a Service Desk project? 

Don't click on the link for Automation - make sure you scroll all of the way down and choose Project Automation. 

image (2).png

I do not see that option in my version.

John M Funk Community Leader Apr 06, 2020

Can you send me a screenshot of what you see? I will check but it might be that you don't get the full version with a free account. 

John M Funk Community Leader Apr 06, 2020

Well, it does look like you will have to do an install. I did not notice that you were on Jira Server. You can find the app here:

https://marketplace.atlassian.com/apps/1215460/automation-for-jira-server?hosting=server&tab=overview

So Automation for Jira -Server does cost, which I am not sure will fly on my project, but there is a Automation for Jira - Server Lite for free.

Do you know if the features I need are in the lite version, if so I might be able to get the Lite version approved.

Thank you for all of you help on this.  I very much appreciate your efforts.

John M Funk Community Leader Apr 07, 2020

So sorry - I don't use Server so I was not aware they were still charging for it. It is free in Cloud. Here is a link to the differences between Lite and Full:

https://confluence.atlassian.com/automation/getting-the-right-version-993924597.html

I am not sure by the list if you will be able to do what you want or not. You would have to use the JQL condition, but that should work. I don't see anything about whether you can use "Smart Values" or not. 

Bottom line is that I would try to get it and install it and see if it works or not. I heavily rely on the full version and it is definitely worth the extra money for me if I had server - but I know that's not my call or yours.  ;-)

Thanks again for all of you help.

John M Funk Community Leader Apr 07, 2020

If you don't mind - can you come back here and update what happened?

Yes, I will let you know the out come.

I had further questions about this functionality. I am wanting to know if automation can work in this scenario:

  • A due date is added to a task
  • This triggers sub-tasks to adopt a due date 2 weeks in the future from the parents due date

@John M Funk Any info you can provide would be much appreciated! 

John M Funk Community Leader Sep 10, 2020

Hi Lesly,

Yes, Automation can do that. Do you mind creating a new question on Community for that so people can track the information separately? Then we can answer there. 

Thanks!

John M Funk Community Leader Sep 10, 2020

@donald.hardy  - Any update?

John M Funk Community Leader Dec 03, 2020

Hey @Lesly Cracchiolo  - Can you do an Accept answer on this one so we can close it out? Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

330 views 0 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you