Documentation

1.0.0

Release date: 18th March, 2014

  • Fixes numerous issues with context parameters not being sent through to conditions and pages
  • Removes page header from Confluence general pages

Issues Resolved

Key Summary
Fixed AC-990 Add-on with ADMIN scope cannot request ADMIN resource
AC-1002 Allow descriptor icon-urls to be absolute
AC-1003 Avoid misleading error message for non-well-formed JSON descriptors
Fixed AC-1006 macro-editor no longer working on new pages

Testing

You can start JIRA or Confluence with Atlassian Connect as follows:

JIRA

atlas-run-standalone --product jira --version 6.2-OD-10-004-WN --bundled-plugins com.atlassian.plugins:atlassian-connect-plugin:1.0.0,com.atlassian.jwt:jwt-plugin:1.0.0,com.atlassian.bundles:json-schema-validator-atlassian-bundle:1.0-m0,com.atlassian.upm:atlassian-universal-plugin-manager-plugin:2.15 --jvmargs -Datlassian.upm.on.demand=true

Confluence

atlas-run-standalone --product confluence --version 5.4-OD-20-006 --bundled-plugins com.atlassian.plugins:atlassian-connect-plugin:1.0.0,com.atlassian.jwt:jwt-plugin:1.0.0,com.atlassian.bundles:json-schema-validator-atlassian-bundle:1.0-m0,com.atlassian.upm:atlassian-universal-plugin-manager-plugin:2.15 --jvmargs -Datlassian.upm.on.demand=true

1.0.0-rc6

Release date: 24th February, 2014

  • Fixes numerous issues with context parameters not being sent through to conditions and pages
  • Removes page header from Confluence general pages

Issues Resolved

Key Summary
AC-865 Remove confluence page header from general pages
Fixed AC-989 Confluence page type and page context not being substituted
Fixed AC-993 Condition not passed context on for tab panel modules
Fixed AC-992 General pages aren't receiving context
AC-997 Add rel="nofollow" to iframes

1.0.0-rc5

Release date: 24th February, 2014

  • Fixes issue where user_is_logged_in condition caused general pages to not be viewable

Issues Resolved

Key Summary
AC-959 /rest/create-dialog not included in Confluence scopes
AC-976 add scope for "/rest/api/2/application-properties"
Fixed AC-986 user_is_logged_in condition not working correctly for general page
Fixed AC-989 Confluence page type and page context not being substituted

1.0.0-rc3

Release date: 24th February, 2014

Breaking Changes

  • Macro context parameter page.version.id is now page.version
  • Module key attributes are now required

Issues Resolved

Key Summary
Fixed AC-683 context-parameters are not being passed to macro-editor page
Fixed AC-798 Tab panels are shown when remote condition returns shouldDisplay:false
Fixed AC-919 URL handling broken in WorkflowPostFunction capabilities
Fixed AC-927 401 Unauthorized when calling Confluence REST API from ACE with scopes declared
Warning AC-968 Change all modules to require the key attribute
Fixed AC-977 page.id context param explodes on blog posts
AC-980 Add issueLink rest paths to scopes
Fixed AC-985 JWT signature validation fails for static content macros

1.0.0-rc2

Release date: 19th February, 2014

  • Fixed connect plugin and connect addon lifecycles
  • Installing an add-on into OnDemand will not work unless the base url starts with https
  • Support for context parameters on remote conditions
  • Only add-ons with a baseUrl starting with https:// can be installed in OnDemand servers. http:// may still be used for testing locally.
  • We reviewed the scopes white-list for usability and security.
    • Added to JIRA:
      • PROJECT_ADMIN:
        • REST endpoints api/{version}/screens.
        • JSON & SOAP methods createProjectRole, deleteProjectAvatar, deleteProjectRole, setNewProjectAvatar, setProjectAvatar, updateProject, updateProjectRole.
      • ADMIN:
        • JSON & SOAP methods createProject, createProjectFromObject, deleteProject.

Breaking Changes

There are no breaking changes for existing add-ons that use the XML descriptor format. The changes below refer to new add-ons that use the JSON descriptor format.

  • The add-on key must now be less than or equal to 80 characters. Any add-ons with larger keys will need to be shortened
  • The authentication module is now required
  • WebPanel url and location fields are now required
  • Breaking changes to avoid signing of unverified content (see also the introduction in Authentication on why this became necessary):
    • The JavaScript method dialog.getIframeHtmlForUrl(...) is no longer supported for add-ons with JSON descriptors. Consider other dialog options or use getIframeHtmlForKey(...) from host/content instead
  • We reviewed the scopes white-list for usability and security.
    • Removed REST endpoints: remoteplugintest/{version}/user, applinks/{version}/applicationlink, applinks/{version}/applicationlinkInfo, applinks/{version}/listApplicationLinks.
    • Confluence:
      • Removed REST endpoints: atlassian-connect/{version}/macro, ui/{version}/content.
      • Removed JSON & XML RPC methods: addGroup, addUser, addUserToGroup, clearIndexQueue, deactivateUser, editUser, flushIndexQueue, isPluginEnabled, isPluginInstalled, reactivateUser, removeGroup, removeUser, removeUserFromGroup, renameUser, renameUsers, setEnableWysiwyg, setUserInformation, setUserPreferenceBoolean, setUserPreferenceLong, setUserPreferenceString.
      • Moved JSON & XML RPC methods to ADMIN: addPersonalSpace, addPersonalSpaceWithDefaultPermissions, addSpace, addSpaceGroup, addSpaceWithDefaultPermissions, removeSpace, removeSpaceGroup, storeSpace.
      • Moved JSON & XML RPC methods to SPACE_ADMIN: setSpaceStatus.
    • JIRA:
      • Removed REST endpoints: customFieldOption.
      • Moved REST endpoints to PROJECT_ADMIN: POST, PUT & DELETE on component, priority & version.

Issues resolved

Key Summary
AC-966 Add /rest/api/2/groups/picker to JIRA scopes white-list
Warning AC-965 WebPanel url and location should be required fields
AC-451 Remove xdm_p parameter
Fixed AC-962 /download/attachments/ not part of the confluence READ scope
AC-912 Validate that Connect baseurl uses https protocol in production
Fixed AC-944 Add issueLinkType mutators to JIRA scopes
Fixed AC-942 Macro editor dialog buttons are not functional
Fixed AC-948 license parameter (lic) not passed to jiraSearchRequestViews requests
Fixed AC-868 user_key not provided in remote-search-request-view request, fails OAUTH
AC-934 Failing to specify a scope should not result in "Error contacting remote application host" error message during plugin installation
Fixed AC-817 Add additional parameters to remote conditions
Fixed AC-956 json descriptor admin pages do not auto-resize
Fixed AC-904 Webitem urls are missing standard context variables
AC-905 New Confluence REST api should be accessible to Connect add-ons
Warning AC-937 Make "authentication" module required
AC-853 Add Variable Substitution for Absolute URLs
AC-964 When dialog opened through AP.require('dialog') background does not get dimmed
AC-952 Multiple of the same connect macro on one page don't render correctly