Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-79794

Smart Values for spaces are not working on Confluence Automation

XMLWordPrintable

      Issue Summary

      It seems that the smart values space.key, space.name, space.id and task.body are not working on Automation for Confluence.

      Even though the smart values space.key, space.name, space.id and task.body are listed on the document page: Smart values in Confluence automation, they are not returning the name of the space the page, space key, space id nor any URL added as hyperlink on task.body

      Another behavior is that, some smart values are also not working for Branch rule / For each task and also on the body of the email when you select to send an email:
      page.url, page.title

      Please see screenshot for visual representation.

      Steps to Reproduce

      • Branch Rule / For each page:
      1. Create Automation Rule
      2. Create Automation Trigger (any will work)
      3. Create Branch rule / for each page or related entities (if using CQL search)
      4. Add components to Send Email
      5. Set the smart values space.key, space.name and space.id or cqlResult.key, cqlResult.name or cqlResult.id
      • Branch Rule / For each task
      1. Create Automation Rule
      2. Create Automation Trigger (Scheduled)
      3. Create Branch rule / for each task or related entities (if using CQL search)
      4. Add components to Send Email
      5. Set one of (or all) the smart values space.key, space.name, space.id, page.title, page.url or cqlResult.key, cqlResult.name or cqlResult.id

      Expected Results

      The UI smart values should match our documentation or the value should work.

      Actual Results

      The values for Each Page are not working and we don't have the values cqlResult on the documentation.

      The values for Each Task are not working at all.

      Workaround

      To bring the Space Key, you can use the value page.url when using the Branch for each page, and it will return the URL link for the page containing the Space Key. For instance: https://instance.atlassian.net/wiki/spaces/*SPACEKEY*/

      For the Branch rule / For each task, there's not a workaround for now.

      For the issue from Hyperlinks added to Tasks and creating a rule to send the email about the smart value task.body, the workaround would be to add the URL without as hyperlink, just as a text, like this one: google.com

        1. Screenshot 2023-02-03 at 12.49.22.png
          105 kB
          Leonardo C.
        2. Screenshot 2023-02-03 at 12.50.32.png
          41 kB
          Leonardo C.

              029e626c74b2 Trevor Angle
              a9bfc60c93d3 Leonardo C. (Inactive)
              Votes:
              39 Vote for this issue
              Watchers:
              30 Start watching this issue

                Created:
                Updated:
                Resolved: