Jira projects don't have an end date, but it's common for users to expect a due date after which you don't want anyone to create more issues for that project. In this article we'll going to show how to solve this problem with date custom fields.
As we said, Jira doesn't have any project-date restrictions, but this is something you don't have to worry about anymore.
You'll find different options for the creation of different types of fields; this is the core of Projectrak (formerly Profields) and it can get a bit complex. However, in this situation we only need the one that specifies Dates.
Once the date field has been created, associate it to your Projectrak layout in the Layout Manager, just below the Field Manager. This layout must be associated with your project, and there are two places where you can do that:
In the project administration options
Using the Associate option on the Layout Manager.
Once the date field has been created, it's time to give the chosen field the desired value. In this case, it's the end date of your project.
Creating a Projectrak validator
Despite having set the end date in our project, issues can still be created there. That's precisely what we want to avoid. That's why we need a Projectrak validator:
As the screenshot shows, it's necessary to get into our project workflow, once there, select the Projectrak Script Validator.
A second validator is needed: the Projectrak Value Validator, which allows to compare values with an equal or not-equal comparator
In this case, we'll use a "greater" comparator that includes from "today" until the end-date of the project.