If an issue in Jira has a lot of comments, there will be a scrollbar. I can scroll these comments up/down using the scrollbar, or using the trackpad on my laptop, but the page-up/page-down keys on my keyboard are completely ignored. Since I am using an external keyboard about 99% of the time, this is extremely irritating. This is using Jira in Chrome on a Mac.
Just about every other Chrome window will scroll when page-up/down keys are used, so someone must have deliberately crippled the Jira web interface. How can we get this problem fixed?
i think you have to try with getComponentOfType(Class<T> componentClass)
check this doc
https://docs.atlassian.com/jira/latest/com/atlassian/jira/component/ComponentAccessor.html
can you share your code ?
why can't you instialize this through constructor?
check here, in this class it is insitialized through constructor and used
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just out of curiosity, where in your class are you trying to receive the ComponentAccessor?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
import com.atlassian.jira.component.ComponentAccessor;
if (fieldConfigId != null)
{
FieldConfigManager fieldConfigManager = ComponentAccessor.getComponent(FieldConfigManager.class);
fieldConfig = fieldConfigManager.getFieldConfig(fieldConfigId);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you try with getComponentofType(FieldConfigManager.class) method
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.