Class CustomerRequestChannelSource

java.lang.Object
com.atlassian.servicedesk.api.request.CustomerRequestChannelSource

@PublicApi public class CustomerRequestChannelSource extends Object
The source channel from which the CustomerRequest created. Backing Issue's then can be queried via JQL like request-channel-type = "api". In addition to system built in channels, custom channel can be built using unique value.
  • Field Details

  • Method Details

    • withValue

      public static CustomerRequestChannelSource withValue(String value)
      Construct a custom source channel using your unique value.

      To supply a display name of your channel, provide a unique i18n properties resource, by the convention sd.customer.request.channel.source.name.{value}. Otherwise, render of the channel name will default to its value To supply a tooltip text on your channel, provide a unique i18n properties resource, by the convention sd.customer.request.channel.source.tooltip.{value}. Otherwise, render of the tooltip will default to empty.

      Parameters:
      value - unique value of the custom source channel
    • value

      public String value()
      The unique value of the source channel
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object