Operations (CRUD)

Every resource has required fields to be set as a resource is created. Also, not all resources could be created or modified. Here is a reference table with resources and their required fields.

Resource CREATE  UPDATE DELETERequired Fields for CREATE
ProcessesYES (can't delete default process)Name
EntityTypesNONONO
PrioritiesName, EntityType
SeveritiesName
EntityStatesYES (can't delete Initial or Final states)Name, EntityType
GeneralsNONONO
AssignablesNONONO
GeneralUsersNONONO
UsersYES (can't delete yourself)Email, Login, Password, FirstName, LastName
ProjectsName
ProgramsName
ReleasesName, Project
IterationsName, StartDate, EndDate, Project, Release
FeaturesName, Project
UserStoriesName, Project
TasksName, UserStory; +Project (when Custom Field values are set)
BugsName, Project
TestCasesName, Steps, Success, Project
TestCaseRunsTestPlanRun
TestPlansName, Project
TestPlanRunsName, Project, TestPlan
Extended Domain Entities (e.g. Retrospectives)Name; +Project (for non-global entities)
TimesProject, Description
RevisionsSourceControlID, Project
RevisionFilesRevision
CustomActivitiesName, Project
RequestsName, Project, EntityState
RequestTypesNONONO
BuildsName, Project
CommentsDescription, General
AssignmentsAssignable, GeneralUser, Role
RolesYES (can't delete Role if it has EntityStates)Name
ImpedimentsName, Project
CompaniesCompanies
RoleEffortsRoleEfforts
ProjectMembersProject, User, Role
AttachmentsYesYesYes