Forums

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

module type

jacob delddd
Contributor
July 3, 2018

I want to make a plugin that can read sprints, and display processed data. What modules should i use? I tried servlet, but it brings me to a new window (not inside jira). I tried a webpanel, but this doesn't let me create a new webpage. 

 

Thanks in advance 

1 answer

1 accepted

1 vote
Answer accepted
Alexey Matveev
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 Leaders.
July 3, 2018

Hello,

It depends where you want to show your data. If you want to show them in an issue, then you need a web panel. If you want to have a different window, then you should write a servlet. Servlet is executed inside Jira, you just need to put the correct decorator in the vm or soy template.

Charly [DEISER]
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 Leaders.
July 3, 2018

Or maybe consider using WebItem + Webwork if you want to display a link in the users menu.

Example:

https://bitbucket.org/mdoar/webwork-sample/overview

Regards

jacob delddd
Contributor
July 3, 2018

Would i be able to change/adjust the calculated data manually in a servlet window (i don't want to change the actual sprint)? And than let's say save it?

Alexey Matveev
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 Leaders.
July 3, 2018

What kind of calculated data?

Basically, you will be able to do everything, what Jira Java Api lets you do.

jacob delddd
Contributor
July 3, 2018

So the sprint data will be collected with the URI (java api), and then i hope to procces it into a database. And afterwards i would like to edit the data in the database, but i'm wondering if that would be possible in a servlet? 

Alexey Matveev
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 Leaders.
July 3, 2018

Yes, it is possible. Servlet is executed in the same Jira Context (inside Jira). It is not executed outside Jira. 

Alexey Matveev
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 Leaders.
July 3, 2018

Inside a servlet you can use Jira Java Api. No need for Rest Api or something like this.

jacob delddd
Contributor
July 4, 2018

Thanks! 

Alexey Matveev
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 Leaders.
July 4, 2018

You are welcome!

jacob delddd
Contributor
July 5, 2018

I can't seem to find any information to use Jira Java Api, would there be issues if i use Rest Api? 

Alexey Matveev
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 Leaders.
July 5, 2018

It is difficult to find info on Jira Software Java Api. You can read my article here:

https://community.atlassian.com/t5/Agile-articles/How-to-use-Jira-Software-functionality-in-a-Jira-plugin/ba-p/779854

Or you can use Jira Software Rest Api. 

jacob delddd
Contributor
July 6, 2018

thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events