How to create custom field type programmatically in jira?

Vedant Kulkarni September 15, 2017

How to create custom field type which automatically gets the logged in user by using jira java API?

1 answer

1 accepted

1 vote
Answer accepted
MoroSystems Support
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.
September 15, 2017

Hi, 

there is a tutorial with new custom field type creation:

https://developer.atlassian.com/jiradev/jira-platform/guides/fields/tutorial-creating-a-custom-field-type

The value you want to display can be got using 

ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()

 Or you can use Script Runner plugin and its Scripted field which would be easier than to create a new custom field type

Suggest an answer

Log in or Sign up to answer