Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-77848

Connect app-created custom field with "link" values are not displayed as hyperlink in new issue view

XMLWordPrintable

      Issue Summary

      When creating a custom field via a connect app and setting it's value as link (using a template), the content of this field is not displayed as a hyperlink, whereas in old view this same field value is a clickable link.

      Steps to Reproduce

      1. Create a custom field with a "link" template via a connect app.
      2. Follow the instructions in https://developer.atlassian.com/cloud/jira/platform/getting-started-with-connect/ to set up the app
        1. In atlassian-connect.json, have code to make a link field
        2. You do not need the HTML file, as the custom field should appear as a field that you can add from Project Settings to an Issue Type
      3. create a snippet in Source in the Dev Console to generate options
        1. Use https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-options--apps-/#api-rest-api-3-field-fieldkey-option-post 's code to create options for the field
        2. Look at the graphql request to adjust the code to meet your context
      4. Populate the value with an option

      Expected Results

      The field value is a clickable link

      Actual Results

      The field value is a label-like value

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. image (4).png
          28 kB
          Gabriel Dias
        2. image (5).png
          32 kB
          Gabriel Dias

              Unassigned Unassigned
              6b8f2fe36dd5 Gabriel Dias
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: