How does the Issue Field Template work?

Hey,

as is the case sometimes, I think you’ve hit a buggy part of Jira. That feature doesn’t work in the new issue view. Works in the old one, so if you can get your customers to use the old issue view, that’s great :slight_smile:

Basically, what it does is it can transform your custom field values into links:

template: {
            type: "link",
            url: "browse/{option.properties.issueId}",
          },

whereas this is the payload to create an option:

{
    value: this.generateOptionValue(issue),
    properties: {
      issueId: issue.id,
    },
  }

This is from an example, where we’re adding custom properties to field options that hold the id of the issue the option is related to. What it should do is simply turn it into a clickable link, but as mentioned before, that part doesn’t work…

You can check out some more topics on this issue:

Hope it helps!

1 Like