You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am trying to create a rule to set the due date of critical bug issue types upon creation to two days after the field "created." I have also used "now" in lieu of "created." No matter what, the created issues' due dates remain empty.
I have selected
I have used
I set it
I publish it
I create a bug with severity of critical...I click create. I open the bug...due date is empty.
Can someone let me know what I am doing incorrectly?
I just replicated your results, and suggest you submit a defect to Atlassian Support. It appears the Due Date cannot currently be set from the Issue Edit using the field selection.
If you instead use the advanced edit with JSON, this work-around will work:
{
"fields": {
"duedate": "{{issue.created.plusBusinessDays(2)}}"
}
}
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Kathleen Buckwalter
What information is being written into the Audit Log for the rule when it executes? Notice below the rule name and "Rule Details" it says "Audit Log". Find the last entry where the rule ran and click on the Show More link to the right of that entry. Share with us the details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great idea! Thank you.
It says it was successful, but the due date still says "None"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for that additional information.
Are you working with issues in a Company Managed project or a Team Managed project?
Are you able to manually set the Due date field through the UI?
Can you add a Log action to write to the Audit Log the smart value you are trying to assign to the Due date field?
Then try creating another Critical Bug and check the audit log to see what was printed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank YOU for helping!
This is a Company-managed project. I can set the date through the UI.
The log automation was a great idea, Thank you! It was successful in calculating two days out. What else can we rule out? It couldn't be a date format issue, right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is showing in the email as well. Still not on the issue or the calendar widget.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I suspect that you may have more than one field named Due date.
Are you a Jira Administrator? If so go to the Custom Fields screen and search for Due date. If there is more than one field with that name, than probably the wrong one has been added to the screen for your project.
If you are not a Jira Administrator then you'll need to work with that person to investigate this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Another great suggestion. We do not have a custom field for due date or due anything. This is a tricky one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy @Kathleen Buckwalter
I tried this in a Company Managed project and it worked for me.
Do you have the Due Date field on the screen you use for the Edit Operation for the type of issue you created?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Trudy Claspill -- I did have it on the view when I tried it in the rule with the direct field edit...it set the Due Date field to null after the edit, so I suspected there was something in the smart value, expression parsing.
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.