Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Communication between plug-ins

AndreasG September 1, 2016

Hi 

I´m trying to develop a JIRA - Plugin which needs data from another plugin(Kanoah).  I tried to follow the examples in "JIRA 5.x Development Cookbook" but they dont work with JIRA 7.x. So my questions are :

  1. Is REST the only way for plug-ins to communicate with each other ?
  2. Does someone know a link with code example , concering communication between plug ins
  3. If REST is the only way, how could  https be used here.
  4.  How has REST access canged since JIRA 5.

    I hope someone could help me with this matter.
    best regards.

 

4 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
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.
September 2, 2016
  1. REST APIs have changed a lot since JIRA 5. You can find latest APIs at https://docs.atlassian.com/jira/REST/latest/
  2. Communication between plugin depend on both plugins. One plugin have to expose its interfaces before another plugin can consume them. They might do it via their own REST APIs or by exposing OSGi components.
  3. Due to #2, I suggest you check with the plugin developer to find out what is supported in your case.

PS: I am the author of JIRA 5.x Development Cookbook. A new version is coming out soon!

It won't answer the above question but I hope you will find lot of other tips in the new version smile

0 votes
pelizza
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.
November 17, 2016

Hi Andreas,

Kanoah Tests has its own REST API, and I believe it is what you are looking for: https://kanoah.atlassian.net/wiki/display/KT/Managing+Tests+From+the+REST+API

Feel free to get in touch with us smile

Cheers!

0 votes
Vasiliy Zverev
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.
September 4, 2016

You also can use third-party plugin api into your plugin. 

See this: https://answers.atlassian.com/questions/39144873

0 votes
AndreasG September 2, 2016

Thanks for your help , i guess i have to find a way via REST.

PS: I really like the style your book is written, easy to understand , and good to read 

Jobin Kuruvilla [Adaptavist]
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.
September 2, 2016

Glad you like it smile

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events