Our new Appfire Documentation Space is now live!

Take a look here! If you have any questions please email support@appfire.com

Project Interface

This document details the methods of the Project interface you can use on a project, such as those returned by the Getters when you access the Project field.

Getters

Method

Return type

Returns

getAssigneeType()
LongThe default assignee type for issues that get created in this project.
getDescription()
StringThe project description
getEmail()String

The project email address from which email notifications are sent

getEntityProperty(String propertyName) (green star)Object The value of the specified Entity property of the project, parsed into a Groovy object.
getId()
LongThe project ID
getIssueTypes()Collection<IssueType>

A Collection of IssueType for this project

getKey()StringThe project key
getLeadUserKey()String

The Project Lead's userkey

getLeadUserName()StringThe Project Lead's username

getName()

String

Name of the project
getProjectCategoryObject()ProjectCategory

The project category information for this project

getProjectComponents()Collection<ProjectComponent>The components for this Project
getProjectLead()ApplicationUserThe project lead
getUrl()StringThe project URL
getVersions()Collection<Version>The versions of the project
getRoleMembers(String projectRoleName) (green star)Set<ApplicationUser>Returns the members of a project role in this project.

Setters

Method

Return type

Returns

setEntityProperty(String propertyName, Object value) (green star)voidSets the value of the specified Entity property of the project to a JSON representation of the specified value.
setEntityPropertyToJsonString(String propertyName, String jsonString) (green star)voidSets the value of the specified Entity property of the project to the specified JSON string.

Deleters

Method

Return type

Returns

deleteEntityProperty(String propertyName) (green star)voidDeletes the specified Entity property of the project.