Create an automated datepicker from due date field

I am very new to Jira and have no coding experience. I have two custom datepicker fields which I would like to automatically change depending on the due date field. One would be a week before the due date and one would be two weeks before. Is it possible to do this?

Thanks

Hannah

4 answers

1 accepted

This widget could not be displayed.

#1 For transition screens you have option to take JSU plugin (https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities)

Go through https://jsutil.atlassian.net/wiki/display/JSUTIL/JIRA+Suite+Utilities+Workflow+Post-Functions

the following images help you.

#2 For Editing issues, you need to go for coding(i.e Listener to catch ISSUE_UPDATED event) or else you need to hack the core code of jira or else you need to tweak your code into jira plugin(quick-edit-plugin).

I have tried to enter javascript into the description field of the custom datepicker but it just disappears and does nothing...any suggestions?

If I want the the field I am copying to to show a different value to the due date, such as -& days, how would I go about this?

could you explain in more detail?

I have a field called Copy deadline (date picker custom field) which is 7 days earlier than the Due date. I would like this to be automatically updated when the due date is changed. The suggestion above looks like it is just duplicating the field. I got someone to test putting javascript into the description field but nothing happened, although I wouldn't know what the code to input would be.

in that case you can write event listener which listens for ISSUE_UPDATED event.

In the listener, you can mention that Copy deadline should be updated based on the updated value of Due date field.

If it is fine for you, you can go through

https://developer.atlassian.com/display/JIRADEV/Writing+JIRA+Event+Listeners+with+the+atlassian-event+Library

https://confluence.atlassian.com/display/JIRA/Listeners

Sorry, this will not work in JIRA OnDemand.

This widget could not be displayed.

Do want this changes on create/edit or on screen?

This widget could not be displayed.

At the moment I am project lead and am manually entering the dates after the issues have been created and then going back to change them if the due date is edited. The date pickers shoudler be visible in all screens I think. I'm not sure if I answered your question.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

172 views 1 3
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