Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Plugin Developement can not login into Jira

Christian Schulze
March 21, 2019

Hello,

during my plugin development I tried to run an Jira with atlas-debug from the atlassian-plugin-sdk.

When I try to login I only get a redirect to the login page, and this message in the console:

 

[WARNING] [talledLocalContainer] WARNUNG: A servlet request, to the URI http://localhost:2990/jira/rest/gadget/1.0/login, 
contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter
accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming
the request body by other means will not work as expected.

 

Can anyone help me?

1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer
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 Champions.
April 2, 2019

Hi Christian,

I am afraid that warning message is a something of a red herring .  You will see that warning message in every Jira Server installation, regardless of plugins.  There is an existing feature request in order to tune down the logging for this warning over in https://jira.atlassian.com/browse/JRASERVER-59898

However I don't think this warning message has anything to do with a login problem you might be having.   Is a fresh sdk install?  If so, I believe the admin login would be just admin/admin for a username/password in an initial setup, unless you have added users or changed these credentials.

Does this help?  Could you tell us more about what your plugin to Jira is trying to do here?

Christian Schulze
April 7, 2019

Hi Andrew,

yes it is a new sdk installation. I change from 6.x to 8.x and the solution was pretty easy, all I have to do was clear the browser cache and the login works. How foolish of me not to have noticed this first. :(

Andy Heinzer
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 Champions.
April 15, 2019

Thanks for posting back with your solution here.  I will go ahead and accept this answer to better serve other users with similar questions in the future.  Cheers,

Andy

Suggest an answer

Log in or Sign up to answer