SpiraTeam: ImportExport SOAP Web Service

See all operations

System_GetProjectIdForArtifact

Description

Returns the project ID number that the queried artifact exists in.

Parameters

Type Name Required
intartifactTypeId - The id of the type of artifact we want to retrieve the documents for: (Requirement = 1, TestCase = 2, Incident = 3, Release = 4, TestRun = 5, Task = 6, TestStep = 7, TestSet = 8, AutomationHost = 9) Yes
intartifactId - The artifact ID. Yes

Return Value

int - The project #.