Issue while developing a plugin from the tutorial - Adding content to the JIRA View Issue

Hello Team,

I am new to plugin development. I am trying to build a plugin by following the tutorial available for Atlassian developers. Below is the link that I followed.

https://developer.atlassian.com/jiradev/jira-platform/guides/issues/tutorial-adding-content-to-the-jira-view-issue-page

I am getting the following error while in the Due Date screen - "Error rendering 'com.example.plugins.tutorial.tutorial-jira-add-content-to-view-issue-screen:due-date-indicator'. Please contact your JIRA administrators"DueDateError.png

Can someone help me out in overcoming this issue? Please let me know what details you require so that I can provide you accordingly.

 

Thanks

Pavan

1 answer

0 votes

Can you check the logs (atlassian-jira.log) and see if there are any errors that might indicate the cause?

Hello Jobin,

I haven't imported that to any of my instances but trying to access that via localhost and 2990 port. I have installed Jira Service Desk on the same machine where i am trying to create a plugin. So should I still check the same log?

Thanks

Pavan

via http://localhost:2990/jira

Assuming that you are running via atlas-run, you can see the logs in the same command window. Are you not seeing any errors other than what you are seeing in the UI?

I am sorry for the delay. I will check and get back to you.

 

Thanks

Pavan

Hi Jobin,

I am getting the below error.

Running ut.com.example.plugins.tutorial.MyComponentUnitTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.268 sec <<< FA
ILURE!
testMyName(ut.com.example.plugins.tutorial.MyComponentUnitTest) Time elapsed: 0
.01 sec <<< ERROR!
java.lang.Error: Unresolved compilation problems:
MyPluginComponent cannot be resolved to a type
MyPluginComponentImpl cannot be resolved to a type

at ut.com.example.plugins.tutorial.MyComponentUnitTest.testMyName(MyComp
onentUnitTest.java:14)

 

Thanks

Pavan

It looks like you have removed the default component classes from the plugin but they are still part of the unit tests. Check your tests and correct them or remove them as appropriate.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

523 views 1 15
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot