I have a custom field called due date. I want to auto-fill it to 2 weeks from the date the issue is transitioned to a particular status. Is this possible?
Hello @Nischal Sharma
You need add-ons for implementing this feature. You can use Automation, Script runner or Power scripts or JSU. Multiple options are available.
I personally use Script runner quite a lot and if you use Script runner then here is an example explaining exactly what you need to do.
https://community.atlassian.com/t5/Jira-Core-questions/Automatically-Set-Due-Date/qaq-p/240779
issue.setDueDate(new Timestamp((new Date() + 14).time))
Here 14 is the number of days i.e. 2 weeks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Tanya eluded, you would need an addon to perform the ‘calculation’ portion of you requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nischal,
Yes, this is possible using a post function. You should edit the workflow and add this on the relevant transition.
I guess to implement this kind of calculation you would need to use script runner abilities and write a script that will implement this requirement.
If you need any assistance with that you are welcome to PM me 😊
Cheers,
Tanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.