Replacement for Velocity Custom Field (JIRA Toolkit Plugin)

Ronny Buschor June 24, 2012

Hi all,

With version 0.25 of the JIRA Toolkit Plugin, Atlassian removed the field types "Velocity Custom Field". We have a lot of custom fields of the type "Velocity processed Message Custom Field (for view)", which shows a link depending on the actual user and ticket. Example:

#set ($jiragroup = $jiraUserUtils.getGroupNamesForUser($authcontext.getLoggedInUser().getName()))
#if($jiragroup.contains("examplegroup"))
  <a href="link?issue=$issue">Example Link</a>
#else
  Forbidden
#end

Is there any replacement for this type of custom fields? Is there a way to do this without the plugin?

Thank you

2 answers

1 accepted

0 votes
Answer accepted
Ronny Buschor October 9, 2012

I decided to use web fragments. I add the links in system-issueoperations-plugin.xml where i could use velocity.

1 vote
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2012

You will have to wrap them into your own plugin I guess.

Suggest an answer

Log in or Sign up to answer