Skip to:

Single Source (if-else condition) Plugin

works with Confluence Server 4.3 - 6.15.10 and more

OVERALL RATINGS

We no longer offer sales and support for server apps. You can stay connected by exploring the migration options to either the cloud or Data Center version of this app.

Explore migration program

Key highlights of the appTangled in maintaining 2 versions of content! Use Single Source to remove your overhead

Define the condition for two versions of content

Condition is just a string. If provided string is part of the spacekey or spacename then condition will be true and all content under true tag will be displayed else content under false tag will be displayed.

Create Single Source for two versions of content

If some content is having 2 versions differing by some keywords, links or images change, save your content creation and editing effort by having single source.

Single content but two different output

Based of true/false state of condition, two different output can be displayed. Part of content could be common or may belong to one of conditions.

Supporting media

More details

Single source macro and Single source include macro could be used to create and reuse content. Reuse can be done even if content has two version where most parts differ in some keywords or images or links.

  • Condition can be provided based of substring of space key or space name
  • If provided substring is part of spacekey or space name content under TRUE tag will be displayed else content under FALSE tag will be displayed
  • Images, links, tables etc could be provided between tags SS_TRUE_ST and SS_TRUE_END tags or SS_FALSE_ST and SS_FALSE_END tags. Any content provided between True tags will be displayed only if condition is true and content provided between False tags will be displayed only if condition is false.

Content which is neither under TRUE tag nor under FALSE tag will be displayed wherever content is reused.

In case you have content based on various condition like different product versions, teams or product names you can evaluate Conditional MultiExcerpt plugin.

Resources

Privacy and Security

Privacy policy

Atlassian's privacy policy is not applicable to the use of this app. Please refer to the privacy policy provided by this app's partner.

Partner privacy policy

Security program

This app is not part of the Marketplace Bug Bounty program.

Version information

We no longer offer sales and support for server apps. You can still explore the earlier versions but these may not offer the necessary support.

Explore all server versions

Learn and explore

  • What’s Marketplace
  • App installation
  • About Atlassian
  • Atlassian resources
  • Search and ranking
  • Atlassian events
  • Atlassian foundation

Follow