It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

User Format (Look and Feel)


i am programming a User Format Plugin and compilation works fine. Also after uploading the plugin to JIRA (Server) no exception/error is thrown. But i am not able to change the user format because the section doesnt exists in look and feel (but it should as described here:

I am using JIRA v6.2.

My code is for testing purpose mainly the same as in the tutorial above. I only changed this bit of code: (EasyMap and User are deprecated)

private Map<String, Object> getInitialParams( final String username, final String id ) {
        final ApplicationUser user = this.userUtil.getUserByName( username );
        final UserFormatter userFormatter = this.userFormatManager.formatter( FullNameUserFormat.TYPE );
        final String fullName = userFormatter.formatUsername( user.getName(), id );
        return new HashMap<String, Object>() {
            private static final long serialVersionUID = 1L;
                put( "username", username ); //$NON-NLS-1$
                put( "user", user ); //$NON-NLS-1$
                put( "fullname", fullName ); //$NON-NLS-1$
                put( "id", id ); //$NON-NLS-1$

(And of course atlassian-plugin.xml is also modified to work right)

Is the User Format Option in JIRA v6>(v6.2?) removed? Is it just visible if there is another valid User Format Plugin? And if so, why the code of the tutorial does not work?

Any Help is welcome!!

Thanks for your attention.

2 answers

I stumbled upon the same problem. It seems like it's also not present in 5.2.11, so maybe this fucntion was removed after version 4?

I had much the same problem as you. What realy helped me to undertand was Jira development cookbook but the truth is user format plugin doesnt work quite the way you would expect(allowing you to change the way users are displayed in Jira) for more information I can refer you to my question.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in United States

Welcome new members!

Wow, I got swamped and now that I've finally gotten my head back above water, I find we have several new members! Welcome @Darren Keith lowman , @Amanda Babb , @Luis Zapata , @Joli Holmes , and @bh...

31 views 0 2
View post

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you