Using the help of Scripted-field I wish to render an issuekey.
When the scripted field is available with the issuekey.
User should be able to click on that issuekey- hyperlink from the current screen only.
It is not possible to create Scripted Fields to support HTML Template or clickable hyperlinks in inside ScriptRunner for Jira Cloud.
Return Types supported - https://docs.adaptavist.com/sr4jc/latest/features/scripted-fields#id-.ScriptedFieldsvCurrent-returntypes
This is now possible with ScriptRunner. This week we've released support for Rich Text Scripted Fields that can be configured using the Atlassian Document Format.
Here's a link to the documentation: https://docs.adaptavist.com/sr4jc/latest/features/scripted-fields#return-types
Best regards,
Andrei
Product Marketing Manager, ScriptRunner for Jira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to Atlassian Comminity
Can you try http://groovy-lang.org/processing-xml.html#_markupbuilder
xml.table(id: "scriptField") {
tr {
th("Key")
th("Summary")
th("Status")
}
results.getIssues().each { documentIssue ->
def issue_i = issueManager.getIssueObject(documentIssue.id )
def ikey = issue_i.key;
tr {
td{
a(href: "/browse/$ikey") ikey
}
td(issue_i.summary.toString())
td(issue_i.status.getName())
}
}
}
Thanks,
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.