Uses of Class
com.atlassian.jira.util.json.JSONException
Packages that use JSONException
Package
Description
This package contains WebDriver tests for the
post-upgrade-landing-page-plugin
.-
Uses of JSONException in com.atlassian.jira.avatar
Methods in com.atlassian.jira.avatar that throw JSONExceptionModifier and TypeMethodDescriptionstatic RemoteAvatar
RemoteAvatar.from
(JSONObject avatarUrls) Build an Avatar representation for a remote object. -
Uses of JSONException in com.atlassian.jira.functest.framework
Methods in com.atlassian.jira.functest.framework that throw JSONExceptionModifier and TypeMethodDescription -
Uses of JSONException in com.atlassian.jira.functest.framework.admin.plugins
Methods in com.atlassian.jira.functest.framework.admin.plugins that throw JSONExceptionModifier and TypeMethodDescriptionRestResources.EndPoint.get()
Invoke the GET HTTP method on this resource. -
Uses of JSONException in com.atlassian.jira.functest.framework.sharing
Methods in com.atlassian.jira.functest.framework.sharing that throw JSONExceptionModifier and TypeMethodDescriptionAuthenticatedTestSharingPermission.parseJson
(JSONObject json) static GlobalTestSharingPermission
GlobalTestSharingPermission.parseJson
(JSONObject json) static GroupTestSharingPermission
GroupTestSharingPermission.parseJson
(JSONObject json) static ProjectTestSharingPermission
ProjectTestSharingPermission.parseJson
(JSONObject json) static SimpleTestSharingPermission
SimpleTestSharingPermission.parseJson
(JSONObject json) static Set<TestSharingPermission>
TestSharingPermissionUtils.parsePermissions
(String json) -
Uses of JSONException in com.atlassian.jira.issue.fields
Methods in com.atlassian.jira.issue.fields that throw JSONExceptionModifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableMap<String,
JSONObject> CommentSystemField.getCommentPropertiesFromParameters
(Map<String, Object> commentParams) -
Uses of JSONException in com.atlassian.jira.issue.search.jql
Methods in com.atlassian.jira.issue.search.jql that throw JSONExceptionModifier and TypeMethodDescriptionvoid
LastJqlFieldsService.addOneField
(ApplicationUser user, String field) void
LastJqlFieldsServiceImpl.addOneField
(ApplicationUser user, String field) void
LastJqlFieldsService.addSomeFields
(ApplicationUser user, Collection<String> fields) void
LastJqlFieldsServiceImpl.addSomeFields
(ApplicationUser user, Collection<String> fields) -
Uses of JSONException in com.atlassian.jira.plugin.link.confluence.service.rest
Methods in com.atlassian.jira.plugin.link.confluence.service.rest that throw JSONExceptionModifier and TypeMethodDescriptionprotected String
AbstractConfluenceRestResponseHandler.fullConfluenceUrl
(JSONObject links) protected String
AbstractConfluenceRestResponseHandler.getBaseUrl
(JSONObject responseObj) ConfluenceRestContentResponseHandler.parseJsonResponse
(JSONObject responseObj, ErrorCollection errors) -
Uses of JSONException in com.atlassian.jira.plugins.auditing.actions
Methods in com.atlassian.jira.plugins.auditing.actions that throw JSONExceptionModifier and TypeMethodDescriptionViewRecords.getCurrentParams()
ViewRecords.getDatePickerParams()
Settings.getRetentionPeriodWarningTranslationsJson()
-
Uses of JSONException in com.atlassian.jira.project
Methods in com.atlassian.jira.project that throw JSONExceptionModifier and TypeMethodDescriptionstatic RemoteProject
RemoteProject.from
(com.atlassian.applinks.api.ApplicationLink applicationLink, JSONObject jsonObject) -
Uses of JSONException in com.atlassian.jira.rest.internal.v1
Methods in com.atlassian.jira.rest.internal.v1 that throw JSONExceptionModifier and TypeMethodDescriptionjavax.ws.rs.core.Response
LicenseBannerResource.getLicenseDetails()
-
Uses of JSONException in com.atlassian.jira.sharing
Methods in com.atlassian.jira.sharing that throw JSONExceptionModifier and TypeMethodDescriptionSharePermissionUtils.fromJsonArray
(JSONArray array) Convert the passed array into SharePermissions.SharePermissionUtils.fromJsonArrayString
(String jsonString) static SharePermission
SharePermissionUtils.fromJsonObject
(JSONObject json) Return a SharePermission from a JSON object.static SharePermission
SharePermissionUtils.fromJsonObjectString
(String jsonString) Create a SharePermission from the passed JSON string.static JSONObject
SharePermissionUtils.getShareRightsJson
(ShareRight shareRight) static JSONObject
SharePermissionUtils.toJson
(SharePermission permission) Convert the passed permission into a JSON object.static JSONArray
SharePermissionUtils.toJsonArray
(Collection<SharePermission> permissions) Converts the passed SharePermissions into a JSON array. -
Uses of JSONException in com.atlassian.jira.user
Methods in com.atlassian.jira.user that throw JSONExceptionModifier and TypeMethodDescriptionstatic RemoteUser
RemoteUser.from
(JSONObject user) static UserFilter
UserFilterUtils.fromJson
(JSONObject json) static UserFilter
UserFilterUtils.fromJsonString
(String jsonString) static JSONObject
UserFilterUtils.toJson
(UserFilter userFilter, ProjectRoleManager projectRoleManager) Convert theuserFilter
toJSONObject
-
Uses of JSONException in com.atlassian.jira.util.json
Methods in com.atlassian.jira.util.json that throw JSONExceptionModifier and TypeMethodDescriptionJSONObject.accumulate
(String key, Object value) Accumulate values under a key.Append values to the array under a key.JSONArray.get
(int index) Get the object value associated with an index.Get the value object associated with a key.boolean
JSONArray.getBoolean
(int index) Get the boolean value associated with an index.boolean
JSONObject.getBoolean
(String key) Get the boolean value associated with a key.double
JSONArray.getDouble
(int index) Get the double value associated with an index.double
Get the double value associated with a key.int
JSONArray.getInt
(int index) Get the int value associated with an index.int
Get the int value associated with a key.JSONArray.getJSONArray
(int index) Get the JSONArray associated with an index.JSONObject.getJSONArray
(String key) Get the JSONArray value associated with a key.JSONArray.getJSONObject
(int index) Get the JSONObject associated with an index.JSONObject.getJSONObject
(String key) Get the JSONObject value associated with a key.long
JSONArray.getLong
(int index) Get the long value associated with an index.long
Get the long value associated with a key.JSONArray.getString
(int index) Get the string associated with an index.Get the string associated with a key.Make a string from the contents of this JSONArray.char
JSONTokener.next
(char c) Consume the next character, and check that it matches a specified character.JSONTokener.next
(int n) Get the next n characters.char
JSONTokener.nextClean()
Get the next char in the string, skipping whitespace and comments (slashslash, slashstar, and hash).JSONTokener.nextString
(char quote) Return the characters up to the next close quote character.JSONTokener.nextValue()
Get the next value.static String
JSONObject.numberToString
(Number n) Produce a string from a Number.JSONArray.put
(double value) Append a double value.JSONArray.put
(int index, boolean value) Put or replace a boolean value in the JSONArray.JSONArray.put
(int index, double value) Put or replace a double value.JSONArray.put
(int index, int value) Put or replace an int value.JSONArray.put
(int index, long value) Put or replace a long value.Put or replace an object value in the JSONArray.JSONArray.put
(int index, Collection<? extends Object> value) Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.Put a key/boolean pair in the JSONObject.Put a key/double pair in the JSONObject.Put a key/int pair in the JSONObject.Put a key/long pair in the JSONObject.Put a key/value pair in the JSONObject.JSONObject.put
(String key, Collection<Object> values) Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.void
JSONTokener.syntaxError
(String message) Make a JSONException to signal a syntax error.JSONObject.toJSONArray
(JSONArray names) Produce a JSONArray containing the values of the members of this JSONObject.JSONArray.toJSONObject
(JSONArray names) Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.JSONArray.toString
(int indentFactor) Make a prettyprinted JSON text of this JSONArray.JSONObject.toString
(int indentFactor) Make a pretty-printed JSON text of this JSONObject.Write the contents of the JSONArray as JSON text to a writer.Write the contents of the JSONObject as JSON text to a writer.Constructors in com.atlassian.jira.util.json that throw JSONExceptionModifierConstructorDescriptionConstruct a JSONArray from a JSONTokener.Construct a JSONArray from an arrayConstruct a JSONArray from a source JSON text.JSONObject
(JSONObject jo, String[] names) Construct a JSONObject from a subset of another JSONObject.Construct a JSONObject from a JSONTokener.JSONObject
(String source) Construct a JSONObject from a source JSON text string. -
Uses of JSONException in com.atlassian.jira.web.action.admin.customfields
Methods in com.atlassian.jira.web.action.admin.customfields that throw JSONException -
Uses of JSONException in com.atlassian.jira.web.action.setup
Methods in com.atlassian.jira.web.action.setup that throw JSONExceptionModifier and TypeMethodDescriptionSetupDatabase.doGetInstalledLocales()
SetupDatabase.doGetLanguageTexts()
SetupFinishing.doSetupFinished()
SetupFinishing.doTriggerSetup()
SetupAccount.getErrorTextsJson()
SetupDatabase.getLanguageTextsJson()
SetupAccount.getLicenseFlagTextsJson()
-
Uses of JSONException in com.atlassian.jira.web.component.jql
Methods in com.atlassian.jira.web.component.jql that throw JSONExceptionModifier and TypeMethodDescriptionAutoCompleteJsonGenerator.getJqlReservedWordsJson()
DefaultAutoCompleteJsonGenerator.getJqlReservedWordsJson()
AutoCompleteJsonGenerator.getVisibleFieldNamesJson
(ApplicationUser user, Locale locale) Will return an array of JSON objects containing the field names that the user can see, listed in alphabetical order.DefaultAutoCompleteJsonGenerator.getVisibleFieldNamesJson
(ApplicationUser user, Locale locale) AutoCompleteJsonGenerator.getVisibleFunctionNamesJson
(ApplicationUser user, Locale locale) Will return an array of JSON objects containing the functions names that are available in the system, listed in alphabetical order.DefaultAutoCompleteJsonGenerator.getVisibleFunctionNamesJson
(ApplicationUser user, Locale locale) -
Uses of JSONException in com.atlassian.jira.web.util
Methods in com.atlassian.jira.web.util that throw JSONExceptionModifier and TypeMethodDescriptionTerminologyDataProvider.getTerminologyEntryAsJson
(TerminologyEntry terminologyEntry) -
Uses of JSONException in com.atlassian.jira.webtest.webdriver.tests.admin.landingpage.postupgrade
Methods in com.atlassian.jira.webtest.webdriver.tests.admin.landingpage.postupgrade that throw JSONExceptionModifier and TypeMethodDescriptionvoid
TestPulpApplinksSection.applinksShouldLeadToApplinksPage()
void
TestPulpApplinksSection.pulpShouldDisplayApplinksSectionWhenApplinksArePresent()
void
TestPulpApplinksSection.pulpShouldNotDisplayApplinksSectionWhenApplinksAreAbsent()
-
Uses of JSONException in com.atlassian.jira.webtests.ztests.bundledplugins2.rest
Methods in com.atlassian.jira.webtests.ztests.bundledplugins2.rest that throw JSONExceptionModifier and TypeMethodDescriptionvoid
TestIssuePropertyResource.creatingNewIssueProperty()
void
TestIssuePropertyResource.deletingProperties()
void
TestAttachTemporaryFileResource.testAttachmentsDisabled()
void
TestAttachTemporaryFileResource.testAttachmentToBig()
void
TestAttachTemporaryFileResource.testBadXsrfAttach()
void
TestRoleResource.testGetSelfForEachRole()
void
TestIssuePropertyAliasing.testJsonValueIsIgnored()
void
TestAttachTemporaryFileResource.testNoAttachPermission()
void
TestIssuePropertyAliasing.testNullValueIsIgnored()
void
TestIssuePropertyResource.testPropertiesAreRemovedWhenIssueIsRemoved()
-
Uses of JSONException in com.atlassian.jira.webtests.ztests.customfield
Methods in com.atlassian.jira.webtests.ztests.customfield that throw JSONExceptionModifier and TypeMethodDescriptionvoid
TestCustomFieldMultiUserPicker.testSetDefaultValueWithUserFilter()
void
TestCustomFieldUserPicker.testSetDefaultValueWithUserFilter()
void
TestCustomFieldMultiUserPicker.testSetValueWithUserFilterByGroups()
void
TestCustomFieldUserPicker.testSetValueWithUserFilterByGroups()
void
TestCustomFieldMultiUserPicker.testSetValueWithUserFilterByProjectRoles()
void
TestCustomFieldUserPicker.testSetValueWithUserFilterByProjectRoles()
void
TestCustomFieldMultiUserPicker.testUserFilterSelection()
void
TestCustomFieldUserPicker.testUserFilterSelection()
-
Uses of JSONException in com.atlassian.jira.webtests.ztests.fields
Methods in com.atlassian.jira.webtests.ztests.fields that throw JSONExceptionModifier and TypeMethodDescriptionvoid
TestFieldConfigurationResource.getConfigurationShouldFallbackToDefaultMaxResults()
void
TestFieldConfigurationResource.getConfigurationShouldFallBackToDefaultQueryForEmptyQuery()
void
TestFieldConfigurationResource.setHiddenShouldCorrectlyChangeHidden()
void
TestFieldConfigurationResource.setRequiredShouldCorrectlyChangeRequired()
void
TestCustomFieldTypeVersionedRepresentations.testVersionedRepresentationsAreInSearch()
-
Uses of JSONException in com.atlassian.jira.webtests.ztests.filter
Methods in com.atlassian.jira.webtests.ztests.filter that throw JSONExceptionModifier and TypeMethodDescriptionvoid
TestFavouriteAndMyFilters.testRestEndpointWithLargeGroups()
-
Uses of JSONException in com.atlassian.jira.webtests.ztests.issue
Methods in com.atlassian.jira.webtests.ztests.issue that throw JSONExceptionModifier and TypeMethodDescriptionvoid
TestEntityPropertyEqualToCondition.testPanelInIssueViewIsDisplayedWhenUserPropertyConditionEvalTrue()
void
TestEntityPropertyEqualToCondition.testPanelInIssueViewIsNotDisplayedWhenUserPropertyConditionEvalFalse()
void
TestBrowseArchivedIssue.testPermissionCheck()
void
TestBrowseArchivedIssue.testSearchResultsAreLimited()
void
TestEntityPropertyEqualToCondition.testWebItemInProjectViewIsNotDisplayedWhenUserPropertyConditionEvalFalse()
-
Uses of JSONException in com.atlassian.jira.webtests.ztests.project
Methods in com.atlassian.jira.webtests.ztests.project that throw JSONException -
Uses of JSONException in com.atlassian.jira.webtests.ztests.project.security
Methods in com.atlassian.jira.webtests.ztests.project.security that throw JSONException -
Uses of JSONException in com.atlassian.jira.webtests.ztests.user
Methods in com.atlassian.jira.webtests.ztests.user that throw JSONExceptionModifier and TypeMethodDescriptionvoid
TestUserPickerResource.shouldAssigneeFailWithoutIssueKeyAndProjectKeys()
void
TestUserPickerResource.shouldAssigneeFallbackToDefaultIncludeInvolvementOfFalse()
void
TestUserPickerResource.shouldAssigneeFallbackToDefaultMaxResultsOf50()
void
TestUserPickerResource.shouldAssigneeFallbackToDefaultQueryOfEmptyString()
void
TestUserPickerResource.shouldAssigneeSucceedWithIssueKey()