Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hi,

   I have custom field and want to send the alerts when the expiry date is approaching..

How to achieve it..

Eg: Contract Expiry date

The date is approaching please take an action... Do we need to mention based on custom field and add in notification??

 

Regards,
Suma

2 answers

2 accepted

0 votes
Answer accepted

Hi @Suma Pralhad Kustagi ,

What I would do is set up a rule with a scheduled trigger, which is set to run every day (e.g. if you use a CRON statement of 0 0 9 * * ?, the rule will run at 9am every day).

Within this scheduled trigger, you are able to add a JQL which will action all of the issues found as part of the schedule, so if you wanted to send the notification for all tasks which are within 7 days of the Contract Expiry Date field, you could use a JQL of:

"Contract Expiry Date" > startofday() and "Contract Expiry Date" <= startofday("+7d")

You can then use one of the notification actions within the rule, such as Slack, Teams or email.

Hope this helps!

Hi Carlile,

     I want to set such a way that  they get notification when the expiry date is approaching..Like a month reminder or 15 days remaining etc..

Regards,

Suma

Hi @Suma Pralhad Kustagi 

In that case, you can still use the scheduled trigger, but use the JQL of

"Contract Expiry Date" = startOfDay("+15d") - where the 15 is the number of days away from the Contract Expiry Date. You can of course set this to however many days you wish. The scheduled trigger will check every day for the tasks which are that many days away from the expiry date

Hi Carlile,

    Thank you for the quick support. I also wanted to know like we need to add a trigger ,which conditional trigger to be used. Never used BitbucketStashFishEye or Crucible ..

 

Regards,
Suma

@Suma Pralhad Kustagi Unfortunately there are no conditional triggers in the Automation feature (the Scheduled trigger is the closest you can get to this as you can add the JQL, however the rule will still trigger based on the set schedule).

I know with the ScriptRunner app you can add in conditions within the trigger, but this is a limitation of the Automation feature

@Suma Pralhad Kustagi No worries! If you feel like this answered your question, feel free to hit the Accept Answer button, as it may help other community members who have a similar question :) 

Suggest an answer

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

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

129 views 1 12
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