Interface ValueService
public interface ValueService
Value service
-
Method Summary
Modifier and TypeMethodDescriptionGet the value for a date field in a projectgetValue
(com.atlassian.jira.project.Project project, DurationField field) Get the value for a duration field in a projectgetValue
(com.atlassian.jira.project.Project project, FormulaField field) Get the value for a formula field in a projectcom.atlassian.crowd.embedded.api.Group
getValue
(com.atlassian.jira.project.Project project, GroupField field) Get the value for a group field in a projectList<com.atlassian.crowd.embedded.api.Group>
getValue
(com.atlassian.jira.project.Project project, GroupMultipleField field) Get the value for a group multiple field in a projectgetValue
(com.atlassian.jira.project.Project project, ListExtField field) Get the value for a list external field in a projectgetValue
(com.atlassian.jira.project.Project project, ListExtMultipleField field) Get the value for a list external multiple field in a projectGet the value for a list field in a projectgetValue
(com.atlassian.jira.project.Project project, ListMultipleField field) Get the value for a list multiple field in a projectgetValue
(com.atlassian.jira.project.Project project, NumberField field) Get the value for a numeric field in a projectgetValue
(com.atlassian.jira.project.Project project, PriorityField field) Get the value for a priority field in a projectcom.atlassian.jira.project.Project
getValue
(com.atlassian.jira.project.Project project, ProjectField field) Get the value for a project field in a projectList<com.atlassian.jira.project.Project>
getValue
(com.atlassian.jira.project.Project project, ProjectMultipleField field) Get the value for a project multiple field in a projectgetValue
(com.atlassian.jira.project.Project project, ScriptField field) Get the value for a script field in a projectgetValue
(com.atlassian.jira.project.Project project, StatusField field) Get the value for a status field in a projectcom.atlassian.jira.project.ProjectCategory
getValue
(com.atlassian.jira.project.Project project, ProjectCategoryField field) Get the category of the projectgetValue
(com.atlassian.jira.project.Project project, ProjectDefaultAssigneeField field) Get the default assignee of the projectgetValue
(com.atlassian.jira.project.Project project, ProjectDescriptionField field) Get the description of the projectgetValue
(com.atlassian.jira.project.Project project, ProjectKeyField field) Get the key of the projectcom.atlassian.jira.user.ApplicationUser
getValue
(com.atlassian.jira.project.Project project, ProjectLeadField field) Get the lead of the projectgetValue
(com.atlassian.jira.project.Project project, ProjectNameField field) Get the name of the projectcom.atlassian.jira.project.type.ProjectTypeKey
getValue
(com.atlassian.jira.project.Project project, ProjectTypeField field) Get the type of the projectgetValue
(com.atlassian.jira.project.Project project, ProjectUrlField field) Get the url of the projectGet the value for a text field in a projectgetValue
(com.atlassian.jira.project.Project project, TextMultipleField field) Get the value for a text field multiple in a projectcom.atlassian.jira.user.ApplicationUser
Get the value for a user field in a projectList<com.atlassian.jira.user.ApplicationUser>
getValue
(com.atlassian.jira.project.Project project, UserMultipleField field) Get the value for a user multiple field in a projectgetValues
(com.atlassian.jira.project.Project project) Get the list of values for a project.getValues
(com.atlassian.jira.project.Project project, boolean withCalculated) Deprecated.Deprecated.void
Set the value for a date field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, DateField field, Date value, boolean saveHistory) Set the value for a date field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, DurationField field, Long value) Set the value for a duration field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, DurationField field, Long value, boolean saveHistory) Set the value for a duration field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, GroupField field, com.atlassian.crowd.embedded.api.Group value) Set the value for a group field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, GroupField field, com.atlassian.crowd.embedded.api.Group value, boolean saveHistory) Set the value for a group field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, GroupMultipleField field, List<com.atlassian.crowd.embedded.api.Group> value) Set the value for a group multiple field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, GroupMultipleField field, List<com.atlassian.crowd.embedded.api.Group> value, boolean saveHistory) Set the value for a group multiple field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, ListExtField field, ListItem value) Set the value for a list external field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, ListExtField field, ListItem value, boolean saveHistory) Set the value for a list external field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, ListExtMultipleField field, List<ListItem> value) Set the value for a list external multiple field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, ListExtMultipleField field, List<ListItem> value, boolean saveHistory) Set the value for a list external multiple field in a projectvoid
Set the value for a list field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, ListField field, ListItem value, boolean saveHistory) Set the value for a list field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, ListMultipleField field, List<ListItem> value) Set the value for a list multiple field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, ListMultipleField field, List<ListItem> value, boolean saveHistory) Set the value for a list multiple field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, NumberField field, BigDecimal value) Set the value for a numeric field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, NumberField field, BigDecimal value, boolean saveHistory) Set the value for a numeric field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, PriorityField field, PriorityItem value) Set the value for a priority field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, PriorityField field, PriorityItem value, boolean saveHistory) Set the value for a priority field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, ProjectField field, com.atlassian.jira.project.Project value) Set the value for a project field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, ProjectField field, com.atlassian.jira.project.Project value, boolean saveHistory) Set the value for a project field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, ProjectMultipleField field, List<com.atlassian.jira.project.Project> value) Set the value for a project multiple field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, ProjectMultipleField field, List<com.atlassian.jira.project.Project> value, boolean saveHistory) Set the value for a project multiple field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, StatusField field, StatusItem value) Set the value for a status field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, StatusField field, StatusItem value, boolean saveHistory) Set the value for a status field in a projectvoid
Set the value for a text field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, TextField field, String value, boolean saveHistory) Set the value for a text field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, TextMultipleField field, String value) Set the value for a text field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, TextMultipleField field, String value, boolean saveHistory) Set the value for a text field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, UserField field, com.atlassian.jira.user.ApplicationUser value) Set the value for a user field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, UserField field, com.atlassian.jira.user.ApplicationUser value, boolean saveHistory) Set the value for a user field in a projectvoid
setValue
(com.atlassian.jira.project.Project project, UserMultipleField field, List<com.atlassian.jira.user.ApplicationUser> value) Set the value for a user multiple field in a projectvalidateBigDecimal
(String value) Validate the value and returns a BigDecimal if is valid or null if not
-
Method Details
-
getValue
Get the value for a text field in a project- Parameters:
project
- The JIRA projectfield
- The text field- Returns:
- The text stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, TextField field, String value) throws Exception Set the value for a text field in a project- Parameters:
project
- The JIRA projectfield
- The text fieldvalue
- The text- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, TextField field, String value, boolean saveHistory) throws Exception Set the value for a text field in a project- Parameters:
project
- The JIRA projectfield
- The text fieldvalue
- The textsaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
String getValue(com.atlassian.jira.project.Project project, TextMultipleField field) throws Exception Get the value for a text field multiple in a project- Parameters:
project
- The JIRA projectfield
- The text field multiple- Returns:
- The text stored in this field
- Throws:
NullPointerException
- if the project or the field are nullException
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, TextMultipleField field, String value) throws Exception Set the value for a text field in a project- Parameters:
project
- The JIRA projectfield
- The text fieldvalue
- The text- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, TextMultipleField field, String value, boolean saveHistory) throws Exception Set the value for a text field in a project- Parameters:
project
- The JIRA projectfield
- The text fieldvalue
- The textsaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
Get the value for a numeric field in a project- Parameters:
project
- The JIRA projectfield
- The numeric field- Returns:
- The
BigDecimal
stored in this field - Throws:
NullPointerException
- if the project or the field are nullException
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, NumberField field, BigDecimal value) throws Exception Set the value for a numeric field in a project- Parameters:
project
- The JIRA projectfield
- The number fieldvalue
- The number- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, NumberField field, BigDecimal value, boolean saveHistory) throws Exception Set the value for a numeric field in a project- Parameters:
project
- The JIRA projectfield
- The number fieldvalue
- The numbersaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
validateBigDecimal
Validate the value and returns a BigDecimal if is valid or null if not- Parameters:
value
- The value
-
getValue
Get the value for a date field in a project- Parameters:
project
- The JIRA projectfield
- The date field- Returns:
- The date stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, DateField field, Date value) throws Exception Set the value for a date field in a project- Parameters:
project
- The JIRA projectfield
- The date fieldvalue
- The date- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, DateField field, Date value, boolean saveHistory) throws Exception Set the value for a date field in a project- Parameters:
project
- The JIRA projectfield
- The date fieldvalue
- The datesaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
Get the value for a duration field in a project- Parameters:
project
- The JIRA projectfield
- The duration field- Returns:
- The duration stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, DurationField field, Long value) throws Exception Set the value for a duration field in a project- Parameters:
project
- The JIRA projectfield
- The duration fieldvalue
- The duration- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, DurationField field, Long value, boolean saveHistory) throws Exception Set the value for a duration field in a project- Parameters:
project
- The JIRA projectfield
- The duration fieldvalue
- The durationsaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
com.atlassian.jira.user.ApplicationUser getValue(com.atlassian.jira.project.Project project, UserField field) throws Exception Get the value for a user field in a project- Parameters:
project
- The JIRA projectfield
- The user field- Returns:
- The user stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, UserField field, com.atlassian.jira.user.ApplicationUser value) throws Exception Set the value for a user field in a project- Parameters:
project
- The JIRA projectfield
- The user fieldvalue
- The user- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, UserField field, com.atlassian.jira.user.ApplicationUser value, boolean saveHistory) throws Exception Set the value for a user field in a project- Parameters:
project
- The JIRA projectfield
- The user fieldvalue
- The usersaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
List<com.atlassian.jira.user.ApplicationUser> getValue(com.atlassian.jira.project.Project project, UserMultipleField field) throws Exception Get the value for a user multiple field in a project- Parameters:
project
- The JIRA projectfield
- The user multiple field- Returns:
- The list of users stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, UserMultipleField field, List<com.atlassian.jira.user.ApplicationUser> value) throws Exception Set the value for a user multiple field in a project- Parameters:
project
- The JIRA projectfield
- The multiple users fieldvalue
- The list of users- Throws:
Exception
- if an error occurs
-
getValue
com.atlassian.crowd.embedded.api.Group getValue(com.atlassian.jira.project.Project project, GroupField field) throws Exception Get the value for a group field in a project- Parameters:
project
- The JIRA projectfield
- The group field- Returns:
- The group stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, GroupField field, com.atlassian.crowd.embedded.api.Group value) throws Exception Set the value for a group field in a project- Parameters:
project
- The JIRA projectfield
- The group fieldvalue
- The group- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, GroupField field, com.atlassian.crowd.embedded.api.Group value, boolean saveHistory) throws Exception Set the value for a group field in a project- Parameters:
project
- The JIRA projectfield
- The group fieldvalue
- The groupsaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
List<com.atlassian.crowd.embedded.api.Group> getValue(com.atlassian.jira.project.Project project, GroupMultipleField field) throws Exception Get the value for a group multiple field in a project- Parameters:
project
- The JIRA projectfield
- The group multiple field- Returns:
- The list of groups stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, GroupMultipleField field, List<com.atlassian.crowd.embedded.api.Group> value) throws Exception Set the value for a group multiple field in a project- Parameters:
project
- The JIRA projectfield
- The multiple groups fieldvalue
- The list of groups- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, GroupMultipleField field, List<com.atlassian.crowd.embedded.api.Group> value, boolean saveHistory) throws Exception Set the value for a group multiple field in a project- Parameters:
project
- The JIRA projectfield
- The multiple groups fieldvalue
- The list of groupssaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
com.atlassian.jira.project.Project getValue(com.atlassian.jira.project.Project project, ProjectField field) throws Exception Get the value for a project field in a project- Parameters:
project
- The JIRA projectfield
- The project field- Returns:
- The project stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ProjectField field, com.atlassian.jira.project.Project value) throws Exception Set the value for a project field in a project- Parameters:
project
- The JIRA projectfield
- The project fieldvalue
- The project- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ProjectField field, com.atlassian.jira.project.Project value, boolean saveHistory) throws Exception Set the value for a project field in a project- Parameters:
project
- The JIRA projectfield
- The project fieldvalue
- The projectsaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
List<com.atlassian.jira.project.Project> getValue(com.atlassian.jira.project.Project project, ProjectMultipleField field) throws Exception Get the value for a project multiple field in a project- Parameters:
project
- The JIRA projectfield
- The project multiple field- Returns:
- The list of projects stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ProjectMultipleField field, List<com.atlassian.jira.project.Project> value) throws Exception Set the value for a project multiple field in a project- Parameters:
project
- The JIRA projectfield
- The project multiple fieldvalue
- The list of projects- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ProjectMultipleField field, List<com.atlassian.jira.project.Project> value, boolean saveHistory) throws Exception Set the value for a project multiple field in a project- Parameters:
project
- The JIRA projectfield
- The project multiple fieldvalue
- The list of projectssaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
Get the value for a status field in a project- Parameters:
project
- The JIRA projectfield
- The status field- Returns:
- The status item stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, StatusField field, StatusItem value) throws Exception Set the value for a status field in a project- Parameters:
project
- The JIRA projectfield
- The status fieldvalue
- The status item- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, StatusField field, StatusItem value, boolean saveHistory) throws Exception Set the value for a status field in a project- Parameters:
project
- The JIRA projectfield
- The status fieldvalue
- The status itemsaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
PriorityItem getValue(com.atlassian.jira.project.Project project, PriorityField field) throws Exception Get the value for a priority field in a project- Parameters:
project
- The JIRA projectfield
- The priority field- Returns:
- The priority item stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, PriorityField field, PriorityItem value) throws Exception Set the value for a priority field in a project- Parameters:
project
- The JIRA projectfield
- The priority fieldvalue
- The priority item- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, PriorityField field, PriorityItem value, boolean saveHistory) throws Exception Set the value for a priority field in a project- Parameters:
project
- The JIRA projectfield
- The priority fieldvalue
- The priority itemsaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
Get the value for a list field in a project- Parameters:
project
- The JIRA projectfield
- The list field- Returns:
- The list item stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ListField field, ListItem value) throws Exception Set the value for a list field in a project- Parameters:
project
- The JIRA projectfield
- The list fieldvalue
- The list item- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ListField field, ListItem value, boolean saveHistory) throws Exception Set the value for a list field in a project- Parameters:
project
- The JIRA projectfield
- The list fieldvalue
- The list itemsaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
List<ListItem> getValue(com.atlassian.jira.project.Project project, ListMultipleField field) throws Exception Get the value for a list multiple field in a project- Parameters:
project
- The JIRA projectfield
- The list multiple field- Returns:
- The list of list items stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ListMultipleField field, List<ListItem> value) throws Exception Set the value for a list multiple field in a project- Parameters:
project
- The JIRA projectfield
- The list multiple fieldvalue
- The list of list items- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ListMultipleField field, List<ListItem> value, boolean saveHistory) throws Exception Set the value for a list multiple field in a project- Parameters:
project
- The JIRA projectfield
- The list multiple fieldvalue
- The list of list itemssaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
Get the value for a list external field in a project- Parameters:
project
- The JIRA projectfield
- The list external field- Returns:
- The list item stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ListExtField field, ListItem value) throws Exception Set the value for a list external field in a project- Parameters:
project
- The JIRA projectfield
- The list external fieldvalue
- The list item- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ListExtField field, ListItem value, boolean saveHistory) throws Exception Set the value for a list external field in a project- Parameters:
project
- The JIRA projectfield
- The list external fieldvalue
- The list itemsaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
List<ListItem> getValue(com.atlassian.jira.project.Project project, ListExtMultipleField field) throws Exception Get the value for a list external multiple field in a project- Parameters:
project
- The JIRA projectfield
- The list external multiple field- Returns:
- The list of list items stored in this field
- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ListExtMultipleField field, List<ListItem> value) throws Exception Set the value for a list external multiple field in a project- Parameters:
project
- The JIRA projectfield
- The list external multiple fieldvalue
- The list of list items- Throws:
Exception
- if an error occurs
-
setValue
void setValue(com.atlassian.jira.project.Project project, ListExtMultipleField field, List<ListItem> value, boolean saveHistory) throws Exception Set the value for a list external multiple field in a project- Parameters:
project
- The JIRA projectfield
- The list external multiple fieldvalue
- The list of list itemssaveHistory
- boolean indicating if the change will be logged in History- Throws:
Exception
- if an error occurs
-
getValue
BigDecimal getValue(com.atlassian.jira.project.Project project, FormulaField field) throws Exception Get the value for a formula field in a project- Parameters:
project
- The JIRA projectfield
- The list field- Returns:
- The result of the sum of the selected issue field in the project
- Throws:
Exception
- if an error occurs
-
getValue
Get the value for a script field in a project- Parameters:
project
- The JIRA projectfield
- The list field- Returns:
- The result of execution of the script
- Throws:
Exception
- if an error occurs
-
getValue
Get the url of the project- Parameters:
project
- The JIRA projectfield
- The project url field- Returns:
- The project url
- Throws:
Exception
- if an error occurs
-
getValue
com.atlassian.jira.project.type.ProjectTypeKey getValue(com.atlassian.jira.project.Project project, ProjectTypeField field) throws Exception Get the type of the project- Parameters:
project
- The JIRA projectfield
- The project type field- Returns:
- The project type
- Throws:
Exception
- if an error occurs
-
getValue
String getValue(com.atlassian.jira.project.Project project, ProjectNameField field) throws Exception Get the name of the project- Parameters:
project
- The JIRA projectfield
- The project name field- Returns:
- The project name
- Throws:
Exception
- if an error occurs
-
getValue
com.atlassian.jira.user.ApplicationUser getValue(com.atlassian.jira.project.Project project, ProjectLeadField field) throws Exception Get the lead of the project- Parameters:
project
- The JIRA projectfield
- The project lead field- Returns:
- The project lead
- Throws:
Exception
- if an error occurs
-
getValue
Get the key of the project- Parameters:
project
- The JIRA projectfield
- The project key field- Returns:
- The project key
- Throws:
Exception
- if an error occurs
-
getValue
String getValue(com.atlassian.jira.project.Project project, ProjectDescriptionField field) throws Exception Get the description of the project- Parameters:
project
- The JIRA projectfield
- The project description field- Returns:
- The project description
- Throws:
Exception
- if an error occurs
-
getValue
com.atlassian.jira.project.ProjectCategory getValue(com.atlassian.jira.project.Project project, ProjectCategoryField field) throws Exception Get the category of the project- Parameters:
project
- The JIRA projectfield
- The project category field- Returns:
- The project category
- Throws:
Exception
- if an error occurs
-
getValue
Long getValue(com.atlassian.jira.project.Project project, ProjectDefaultAssigneeField field) throws Exception Get the default assignee of the project- Parameters:
project
- The JIRA projectfield
- The project default assignee field- Returns:
- The project default assignee
- Throws:
Exception
- if an error occurs
-
getValues
Deprecated.Deprecated. Use the method getValues(Project project). Get the list of values for a project. It allows the user to indicate if he wants to get the calculated values, because they could be slow- Parameters:
project
- the projectwithCalculated
- boolean indicating if the calculated values are added to the result- Returns:
- The list of values in that project
-
getValues
Get the list of values for a project.- Parameters:
project
- the project- Returns:
- The list of values in that project
-