Hi team,
i follow all the mentions step but not rendering the velocity template. I am using sdk 6+ version.
When ever i access the servlet 404 error shows.
Might be there is some missing step.
Hi Guys..
I am using sdk 6.2.2 standalone JIRA and dont do any thing different from this tutorial url "https://developer.atlassian.com/docs/getting-started/learn-the-development-platform-by-example/create-a-gui-with-templates-and-aui"
Hurrah ! I found the answear.
Instead of passing the object from constructor you can use
ComponentAccessor.getOSGiComponentInstanceOfType(ClassName.class) |
It helps me and yours.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I could have told you that a lot sooner if you had told me the version of JIRA you were using.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know how else I can ask this. If you're building an add-on, you are running JIRA (or trying to, anyway). We need to know what version it is running. The SDK runs it for you, based on what's in the pom.xml, but you need to tell us what version you are compiling the code for.
And, we need the log file. 404 is not what the log says, please, read the actual application log that's being piped to the screen and to the log file inside the installation of JIRA that the SDK creates for you.
Note that if you really have done exactly what the tutorial says, then you will have a working add-on. But that does assume your environment is correct - that's why we need to know what version of JIRA you are running is and what the logs say.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic ,
I dont install the JIRA on system. but using JIRA sdk build in JIRA . I copied all the steps and don't insert any new step.
When i access servlet the 404 error is encountered. I dont know whats wrong with this but when i pass the parameter to the constructor of the servlet then this error is generated.
Is there any way to render the template without injecting the Template renderer into the constructor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is a working sample in the tutorial.
If it's not working for you, then we can try to help you, but we need to know
I don't know how else to explain this. You need to tell us the answers to these questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
it is true i am using your above tutorial and also using sdk standalone JIRA with step by step instrunctions.
Nic if possible can you provide a working sample.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. It does not. Please, re-read my original answer and give us the answers to the second, third and fourth points.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please, instead of moving answers and comments around, give us the information we need to help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Um.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
as @Nic Brough [Adaptavist] asked you,
please elaborate the things properly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, that's the tutorial, but you still have not answered the other three questions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.