Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira automation extend due date and transition the status

Tomi May 19, 2022

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.jpg Untitled1.jpg Untitled2.jpg

1 answer

1 accepted

3 votes
Answer accepted
Callum Carlile _Automation Consultants_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 20, 2022

Hi @Tomi 

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

checkbox.png I 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?

Tomi May 26, 2022

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

Callum Carlile _Automation Consultants_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 26, 2022

Great, glad you've got it sorted!

Tomi May 26, 2022

@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. 

Callum Carlile _Automation Consultants_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 1, 2022

@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
Product Admin
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events