NAME
JIRA::REST::Class::Project - A helper class for JIRA::REST::Class that represents a JIRA project as an object.
VERSION
version 0.12
DESCRIPTION
This object represents a JIRA project as an object. It is overloaded so it returns the key
of the project when stringified, and the id
of the project when it is used in a numeric context. Note, however, that if two of these objects are compared as strings, the name
of the projects will be used for the comparison (numeric comparison will compare the id
s of the projects).
READ-ONLY ACCESSORS
assigneeType
This accessor returns the assignee type of the project.
avatarUrls
A hashref of the different sizes available for the project's avatar.
components
A list of the components for the project as JIRA::REST::Class::Project::Component objects.
description
Returns the description of the project.
expand
A comma-separated list of fields in the project that weren't expanded in the initial REST call.
id
Returns the id of the project.
issueTypes
A list of valid issue types for the project as JIRA::REST::Class::Issue::Type objects.
subtaskIssueTypes
Taking a page from the old SOAP interface, this accessor returns a list of all issue types (as JIRA::REST::Class::Issue::Type objects) whose subtask field is true.
key
Returns the key of the project.
lead
Returns the project lead as a JIRA::REST::Class::User object.
name
Returns the name of the project.
category
Returns a hashref of the category of the project as JIRA::REST::Class::Project::Category objects.
self
Returns the JIRA REST API URL of the project.
versions
Returns a list of the versions of the project as JIRA::REST::Class::Project::Version objects.
metadata
Returns the metadata associated with this project.
allowed_components
Returns a list of the allowed values for the 'components' field in the project.
allowed_versions
Returns a list of the allowed values for the 'versions' field in the project.
allowed_fix_versions
Returns a list of the allowed values for the 'fixVersions' field in the project.
allowed_issue_types
Returns a list of the allowed values for the 'issuetype' field in the project.
allowed_priorities
Returns a list of the allowed values for the 'priority' field in the project.
INTERNAL METHODS
allowed_field_values FIELD_NAME
Returns a list of allowable values for the specified field in the project.
field_metadata_exists FIELD_NAME
Boolean indicating whether there is metadata for a given field in the project. Read-only.
field_metadata FIELD_NAME
Looks for metadata under either a field's key or name in the project. Read-only.
field_name FIELD_KEY
Looks up field names in the project metadata in the project. Read-only.
RELATED CLASSES
AUTHOR
Packy Anderson <packy@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2017 by Packy Anderson.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)