Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-13120

Comment visibility property has different value type when comment created from transition modal and issue view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • Issue View
    • None

    Description

      Issue Summary

      There is inconsistency in how the "sd.public.comment" property is stored:

      • when a comment is created on the transition modal, the property it is stored as String: "internal": "true"
      • when a comment is created from the main issue view, the property is stored as Boolean, (probably desired behaviour): "internal": true.

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. Step 1
        During the issue transition enter a private comment on the issue transition modal.
      2. Step 2
        Create the internal comment in the main Issue View.
      3. Step 3
        Query newly created visibility comments properties with (key: "sd.public.comment") https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comment-properties/#api-rest-api-3-comment-commentid-properties-propertykey-get

      Expected Results

      Visibility properties have the same type in both cases.

      Actual Results

      • when a comment is created on the transition modal, the property it is stored as String: "internal": "true"
      • when a comment is created from the main issue view, the property is stored as Boolean, (probably desired behaviour): "internal": true.

      Workaround

      N/A

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              df7464a9bd23 Tomasz Chojnacki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: