@groovy.transform.Trait trait Space extends java.lang.Object implements com.atlassian.jira.rest.clientv2.model.Project
An interface for Jira projects following updated terminology.
Space extends the Project interface, providing updated terminology.
This interface is fully backward-compatible with Project. Any instance of Project
that implements Space can be used interchangeably with both interfaces.
Existing code using Project continues to work unchanged, while new code can adopt
the updated terminology provided by Space.
def space = Spaces.getByKey("TEST")
// Updated terminology
println "Space Key: ${space.key"
println "Space Name: ${space.name}"
// Legacy terminology still works
println "Project Key: ${space.key}"
println "Project Name: ${space.name}"
}
| Type Params | Return Type | Name and description |
|---|---|---|
|
com.atlassian.jira.rest.clientv2.model.ProjectCategory |
getSpaceCategory() |
|
com.atlassian.jira.rest.clientv2.model.Project$ProjectTypeKeyEnum |
getSpaceTypeKey() |
|
java.util.List<com.atlassian.jira.rest.clientv2.model.IssueTypeDetails> |
getWorkTypes() |
|
java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |