Interface ValueService


public interface ValueService
Value service
  • Method Summary

    Modifier and Type
    Method
    Description
    getValue(com.atlassian.jira.project.Project project, DateField field)
    Get the value for a date field in a project
    getValue(com.atlassian.jira.project.Project project, DurationField field)
    Get the value for a duration field in a project
    getValue(com.atlassian.jira.project.Project project, FormulaField field)
    Get the value for a formula field in a project
    com.atlassian.crowd.embedded.api.Group
    getValue(com.atlassian.jira.project.Project project, GroupField field)
    Get the value for a group field in a project
    List<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 project
    getValue(com.atlassian.jira.project.Project project, ListExtField field)
    Get the value for a list external field in a project
    getValue(com.atlassian.jira.project.Project project, ListExtMultipleField field)
    Get the value for a list external multiple field in a project
    getValue(com.atlassian.jira.project.Project project, ListField field)
    Get the value for a list field in a project
    getValue(com.atlassian.jira.project.Project project, ListMultipleField field)
    Get the value for a list multiple field in a project
    getValue(com.atlassian.jira.project.Project project, NumberField field)
    Get the value for a numeric field in a project
    getValue(com.atlassian.jira.project.Project project, PriorityField field)
    Get the value for a priority field in a project
    com.atlassian.jira.project.Project
    getValue(com.atlassian.jira.project.Project project, ProjectField field)
    Get the value for a project field in a project
    List<com.atlassian.jira.project.Project>
    getValue(com.atlassian.jira.project.Project project, ProjectMultipleField field)
    Get the value for a project multiple field in a project
    getValue(com.atlassian.jira.project.Project project, ScriptField field)
    Get the value for a script field in a project
    getValue(com.atlassian.jira.project.Project project, StatusField field)
    Get the value for a status field in a project
    com.atlassian.jira.project.ProjectCategory
    getValue(com.atlassian.jira.project.Project project, ProjectCategoryField field)
    Get the category of the project
    getValue(com.atlassian.jira.project.Project project, ProjectDefaultAssigneeField field)
    Get the default assignee of the project
    getValue(com.atlassian.jira.project.Project project, ProjectDescriptionField field)
    Get the description of the project
    getValue(com.atlassian.jira.project.Project project, ProjectKeyField field)
    Get the key of the project
    com.atlassian.jira.user.ApplicationUser
    getValue(com.atlassian.jira.project.Project project, ProjectLeadField field)
    Get the lead of the project
    getValue(com.atlassian.jira.project.Project project, ProjectNameField field)
    Get the name of the project
    com.atlassian.jira.project.type.ProjectTypeKey
    getValue(com.atlassian.jira.project.Project project, ProjectTypeField field)
    Get the type of the project
    getValue(com.atlassian.jira.project.Project project, ProjectUrlField field)
    Get the url of the project
    getValue(com.atlassian.jira.project.Project project, TextField field)
    Get the value for a text field in a project
    getValue(com.atlassian.jira.project.Project project, TextMultipleField field)
    Get the value for a text field multiple in a project
    com.atlassian.jira.user.ApplicationUser
    getValue(com.atlassian.jira.project.Project project, UserField field)
    Get the value for a user field in a project
    List<com.atlassian.jira.user.ApplicationUser>
    getValue(com.atlassian.jira.project.Project project, UserMultipleField field)
    Get the value for a user multiple field in a project
    getValues(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
    setValue(com.atlassian.jira.project.Project project, DateField field, Date value)
    Set the value for a date field in a project
    void
    setValue(com.atlassian.jira.project.Project project, DateField field, Date value, boolean saveHistory)
    Set the value for a date field in a project
    void
    setValue(com.atlassian.jira.project.Project project, DurationField field, Long value)
    Set the value for a duration field in a project
    void
    setValue(com.atlassian.jira.project.Project project, DurationField field, Long value, boolean saveHistory)
    Set the value for a duration field in a project
    void
    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 project
    void
    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 project
    void
    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 project
    void
    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 project
    void
    setValue(com.atlassian.jira.project.Project project, ListExtField field, ListItem value)
    Set the value for a list external field in a project
    void
    setValue(com.atlassian.jira.project.Project project, ListExtField field, ListItem value, boolean saveHistory)
    Set the value for a list external field in a project
    void
    setValue(com.atlassian.jira.project.Project project, ListExtMultipleField field, List<ListItem> value)
    Set the value for a list external multiple field in a project
    void
    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 project
    void
    setValue(com.atlassian.jira.project.Project project, ListField field, ListItem value)
    Set the value for a list field in a project
    void
    setValue(com.atlassian.jira.project.Project project, ListField field, ListItem value, boolean saveHistory)
    Set the value for a list field in a project
    void
    setValue(com.atlassian.jira.project.Project project, ListMultipleField field, List<ListItem> value)
    Set the value for a list multiple field in a project
    void
    setValue(com.atlassian.jira.project.Project project, ListMultipleField field, List<ListItem> value, boolean saveHistory)
    Set the value for a list multiple field in a project
    void
    setValue(com.atlassian.jira.project.Project project, NumberField field, BigDecimal value)
    Set the value for a numeric field in a project
    void
    setValue(com.atlassian.jira.project.Project project, NumberField field, BigDecimal value, boolean saveHistory)
    Set the value for a numeric field in a project
    void
    setValue(com.atlassian.jira.project.Project project, PriorityField field, PriorityItem value)
    Set the value for a priority field in a project
    void
    setValue(com.atlassian.jira.project.Project project, PriorityField field, PriorityItem value, boolean saveHistory)
    Set the value for a priority field in a project
    void
    setValue(com.atlassian.jira.project.Project project, ProjectField field, com.atlassian.jira.project.Project value)
    Set the value for a project field in a project
    void
    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 project
    void
    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 project
    void
    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 project
    void
    setValue(com.atlassian.jira.project.Project project, StatusField field, StatusItem value)
    Set the value for a status field in a project
    void
    setValue(com.atlassian.jira.project.Project project, StatusField field, StatusItem value, boolean saveHistory)
    Set the value for a status field in a project
    void
    setValue(com.atlassian.jira.project.Project project, TextField field, String value)
    Set the value for a text field in a project
    void
    setValue(com.atlassian.jira.project.Project project, TextField field, String value, boolean saveHistory)
    Set the value for a text field in a project
    void
    setValue(com.atlassian.jira.project.Project project, TextMultipleField field, String value)
    Set the value for a text field in a project
    void
    setValue(com.atlassian.jira.project.Project project, TextMultipleField field, String value, boolean saveHistory)
    Set the value for a text field in a project
    void
    setValue(com.atlassian.jira.project.Project project, UserField field, com.atlassian.jira.user.ApplicationUser value)
    Set the value for a user field in a project
    void
    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 project
    void
    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 project
    Validate the value and returns a BigDecimal if is valid or null if not
  • Method Details

    • getValue

      String getValue(com.atlassian.jira.project.Project project, TextField field) throws Exception
      Get the value for a text field in a project
      Parameters:
      project - The JIRA project
      field - 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 project
      field - The text field
      value - 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 project
      field - The text field
      value - The text
      saveHistory - 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 project
      field - The text field multiple
      Returns:
      The text stored in this field
      Throws:
      NullPointerException - if the project or the field are null
      Exception - 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 project
      field - The text field
      value - 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 project
      field - The text field
      value - The text
      saveHistory - 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, NumberField field) throws Exception
      Get the value for a numeric field in a project
      Parameters:
      project - The JIRA project
      field - The numeric field
      Returns:
      The BigDecimal stored in this field
      Throws:
      NullPointerException - if the project or the field are null
      Exception - 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 project
      field - The number field
      value - 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 project
      field - The number field
      value - The number
      saveHistory - boolean indicating if the change will be logged in History
      Throws:
      Exception - if an error occurs
    • validateBigDecimal

      BigDecimal validateBigDecimal(String value)
      Validate the value and returns a BigDecimal if is valid or null if not
      Parameters:
      value - The value
    • getValue

      Date getValue(com.atlassian.jira.project.Project project, DateField field) throws Exception
      Get the value for a date field in a project
      Parameters:
      project - The JIRA project
      field - 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 project
      field - The date field
      value - 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 project
      field - The date field
      value - The date
      saveHistory - boolean indicating if the change will be logged in History
      Throws:
      Exception - if an error occurs
    • getValue

      Long getValue(com.atlassian.jira.project.Project project, DurationField field) throws Exception
      Get the value for a duration field in a project
      Parameters:
      project - The JIRA project
      field - 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 project
      field - The duration field
      value - 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 project
      field - The duration field
      value - The duration
      saveHistory - 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 project
      field - 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 project
      field - The user field
      value - 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 project
      field - The user field
      value - The user
      saveHistory - 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 project
      field - 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 project
      field - The multiple users field
      value - 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 project
      field - 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 project
      field - The group field
      value - 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 project
      field - The group field
      value - The group
      saveHistory - 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 project
      field - 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 project
      field - The multiple groups field
      value - 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 project
      field - The multiple groups field
      value - The list of groups
      saveHistory - 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 project
      field - 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 project
      field - The project field
      value - 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 project
      field - The project field
      value - The project
      saveHistory - 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 project
      field - 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 project
      field - The project multiple field
      value - 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 project
      field - The project multiple field
      value - The list of projects
      saveHistory - boolean indicating if the change will be logged in History
      Throws:
      Exception - if an error occurs
    • getValue

      StatusItem getValue(com.atlassian.jira.project.Project project, StatusField field) throws Exception
      Get the value for a status field in a project
      Parameters:
      project - The JIRA project
      field - 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 project
      field - The status field
      value - 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 project
      field - The status field
      value - The status item
      saveHistory - 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 project
      field - 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 project
      field - The priority field
      value - 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 project
      field - The priority field
      value - The priority item
      saveHistory - boolean indicating if the change will be logged in History
      Throws:
      Exception - if an error occurs
    • getValue

      ListItem getValue(com.atlassian.jira.project.Project project, ListField field) throws Exception
      Get the value for a list field in a project
      Parameters:
      project - The JIRA project
      field - 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 project
      field - The list field
      value - 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 project
      field - The list field
      value - The list item
      saveHistory - 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 project
      field - 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 project
      field - The list multiple field
      value - 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 project
      field - The list multiple field
      value - The list of list items
      saveHistory - boolean indicating if the change will be logged in History
      Throws:
      Exception - if an error occurs
    • getValue

      ListItem getValue(com.atlassian.jira.project.Project project, ListExtField field) throws Exception
      Get the value for a list external field in a project
      Parameters:
      project - The JIRA project
      field - 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 project
      field - The list external field
      value - 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 project
      field - The list external field
      value - The list item
      saveHistory - 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 project
      field - 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 project
      field - The list external multiple field
      value - 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 project
      field - The list external multiple field
      value - The list of list items
      saveHistory - 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 project
      field - The list field
      Returns:
      The result of the sum of the selected issue field in the project
      Throws:
      Exception - if an error occurs
    • getValue

      String getValue(com.atlassian.jira.project.Project project, ScriptField field) throws Exception
      Get the value for a script field in a project
      Parameters:
      project - The JIRA project
      field - The list field
      Returns:
      The result of execution of the script
      Throws:
      Exception - if an error occurs
    • getValue

      String getValue(com.atlassian.jira.project.Project project, ProjectUrlField field) throws Exception
      Get the url of the project
      Parameters:
      project - The JIRA project
      field - 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 project
      field - 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 project
      field - 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 project
      field - The project lead field
      Returns:
      The project lead
      Throws:
      Exception - if an error occurs
    • getValue

      String getValue(com.atlassian.jira.project.Project project, ProjectKeyField field) throws Exception
      Get the key of the project
      Parameters:
      project - The JIRA project
      field - 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 project
      field - 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 project
      field - 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 project
      field - The project default assignee field
      Returns:
      The project default assignee
      Throws:
      Exception - if an error occurs
    • getValues

      @Deprecated ValueList getValues(com.atlassian.jira.project.Project project, boolean withCalculated)
      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 project
      withCalculated - boolean indicating if the calculated values are added to the result
      Returns:
      The list of values in that project
    • getValues

      ValueList getValues(com.atlassian.jira.project.Project project)
      Get the list of values for a project.
      Parameters:
      project - the project
      Returns:
      The list of values in that project