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.
@Sambhav Swain ,
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
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
Hi @Sambhav Swain
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,
AndreiProduct Marketing Manager, ScriptRunner for Jira
It looks like you're new here. Sign in or register to get started.