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 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

1,210 views 2 14
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