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,295,398
Community Members
 
Community Events
165
Community Groups

Jira automation extend due date and transition the status

Hello Jira community,

I've been going through some automation on Jira, some of them worked for me but this one I'm trying to figure it out It's causing me problems.

The automation I want is this:  If UAT status due date is changed to 2 weeks 
                                         then: If no update on the ticket for this timeline, move the                                                            issue to Release, change the due date to one more week                                                    and comment @ assigne please email the customer. 
                                         then: If no update on the ticket for this 1 week email the                                                              reporter and move the ticket to done.

So I'm able to change the Status from UAT to Release and if no update on the ticket in those 2 weeks and also able to comment and tag the assignee.
The problems I'm facing is
1) due date It's not changed to one more week.
2) also move it to done and email the reporter not working.

P.S
- I'm testing it for minutes instead of weeks to see If it's working
- to change the due date to one more week I've used three different : {{now.plusWeeks(7)}}
  {{now.plusDays(7)}}
  {{now.plusBusinessDays(1)}}

See screenshots of the three rules:

Untitled.jpgUntitled1.jpgUntitled2.jpg

1 answer

1 accepted

3 votes
Answer accepted

Hi @Tomi 

First thing I would recommend is to check that any rules which are triggered by other rules have this checkbox ticked.

checkbox.pngI see from your first screenshot that you trigger a transition, which is used in the trigger for the second rule, so perhaps this is causing the problem?

For your third rule where you send the email, are there any errors in the audit log? Or is the rule simply not triggering? If the rule is triggering, is there definitely a reporter on the triggering issues to send the email to?

@Callum Carlile _Automation Consultants_ Thanks, that was the problem. Now It's working :) 

Great, glad you've got it sorted!

@Callum Carlile _Automation Consultants_ I have one problem though.
If the due date is e.g. 3 june/2022 and automatic due date need to change it to one more week so 10 june/2022, It's not working.
{{now.plusBusinessDays(6)}} is only taking the current date (today 26th of May) and changing it to 3 of June. 

@Tomi If you slightly amend your smart value to {{Due Date.plusBusinessDays(6)}} then this should work

Like Tomi likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,444 views 37 44
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