Forums

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

fresher prohibition mail alert based on Date of joining

bhavani kandukuri June 9, 2020

Hi,

I have a custom field(date picker) called Date of joining.

Whenever a fresher create a ticket with the date of joining.

Based on that field..,have to calculate 6months period from the date of joining.

if the date appears,a fresher has to receive notification mail with the created ticket details and a message like "your prohibition period is completed "

this is what the requirement exactly.

Could any one help me plzz...

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 11, 2020

Hi,

If I understand the request here, it sounds like you want to automate or schedule a notification to a Jira user based off a value in a custom date field.  While I have to admit, that I'm a bit confused by the term 'fresher' in this context, I think you can use Jira Cloud's automation in order to set this up. 

If you have never worked with automation in Jira Cloud, I would suggest checking out our Automation: Basics page to get an idea of how this works.  The way I see this, you could create a new automation rule within this project to compare the current date against the value of this custom date field.  Use smart values to manipulate and format dates has some details about how you can setup a rule like this.  I suspect this would be an advanced compare condition that would look something like this:

First value:

{{now.diff(issue.Date of joining).days}}

Condition:  Greater than

Second value:  59

 

You could then setup an action rule to Send an email to the user directly, or Add a comment to the issue which could work if the user can see this issue already.

Note about doing this, you might also need to add in a second condition such as status = In Progress or something like status != Closed.  I'm not sure which method you might use to trigger this event, you could set this up to check once a day on a scheduled trigger.  The thing to watch out for when using that scheduled trigger is that you might not want to to send this same email to the same user each day, over and over again.  End users in my experience tend to get rather annoyed by such continuous automated messages.

I hope this helps.

Andy

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events