When I create user format plugin module I get exception in look and feel section. This can by fixxed by calling
UserFormatTypeConfiguration userFormatTypeConfiguration = ComponentAccessor.getComponent(UserFormatTypeConfiguration.class); userFormatTypeConfiguration.setUserFormatKeyForType("fullName", "jira.user.format:full-name-user-format");
however this doesnt realy fix the problem beacous when i chose my user format nothing change. Also there are now calls to my format functions.
My question is how can I change usserFormatter or where is it stored. Also is there some specific requirments for user format module?
I made my plugin work and rendered user in isuee listview in the way I wanted. However that was not really what I needed. I now know that i must edit .vm templateis in core jira but I have no Idea where to find ones reposible for rendering assignee and reporter in an issue.
Not sure where you added this code. And it is not needed. When you write a User Format Plugin module, you need to implement the UserFormat interface, implement the required methods and write the velocity templates.
Once that is done, using the new profile depends on where you want to use them. For example, the assignee column in the issue navigator uses the assignee-columnview.vm file. You can also call the new profile from other plugins.
There is a recipe in the JIRA Development Cookbook discusing about the same in Chapter 11.
Thanks this helped a lot epecialy JIRA Development Cookbook was very usefull just one more question. Do I have to edit the vm fiels in jira by hand? Or is there some way for the plugin to do this for me. As I said I need to change rendering of all user mentions. Does this mean I have to edit all vm user files?
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs