/*
* Licensed Materials - Property of IBM Corp.
* IBM UrbanCode Build
* (c) Copyright IBM Corporation 2012, 2014. All Rights Reserved.
*
* U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by
* GSA ADP Schedule Contract with IBM Corp.
*/
if(projectKey && reqKey) {
  errors.reqKey = "Either User Story ID or Project Name must be empty!"
  errors.projectKey = "Either User Story ID or Project Name must be empty!"
}
if(!projectKey && !reqKey) {
  errors.reqKey = "Either User Story ID or Project Name must be set!"
  errors.projectKey = "Either User Story ID or Project Name must be set!"
}