How to push a file generated from an external tool to my developed jira plugin?


I developed a jira plugin(in Java and JavaScript) using the sdk. I also developed a tool (*.exe in C#) which will generate a json file. Everytime when this json file generated from my tool, I want this json file to be immediately transfered to and received by my jira plugin. Is that possible How could it be done? What extra work should I do? From my tool or from the server side of my jira plugin?

If someone could give me some hints, I would be very appreciated. Thanks.


Best regards,



1 answer

This widget could not be displayed.

Well, it is going to be a push or pull.

You can write a JIRA plugin that monitors for changes and pull it when the json file is generated but this may not be desired as you have to keep polling at regular intervals.

A better option might be to use a JIRA REST API which can then be invoked by your tool as soon as the json file is generated. You might have to create a custom REST end point in JIRA, using the rest plugin module, if you can't use any of the existing APIs.

Hello Jobin,

Thank you very much for taking your time and answer my question.

My JIRA plugin already has a REST Endpoint Module. What I don't know is, how could I build up kind of connection or invoking, so that my external tool can push this json file to my JIRA plugin?

Do you mean I should define a push function in my external tool in C# and also define a get function in my JIRA plugin REST Endpoint module? Is that the right way? Thanks.

Best regards,

Dongmei Liu

Yes. Define a GET end point and then call it from your tool. That seems to be the most straightforward way.

Hello Jobin,

Thanks for your answer. I will try to do it like this, still not sure if it will work. Define a GET end point in JIRA plugin I know how to do it, but I just wonder how this post function in my external tool written in C# should be defined.

Will this post function in C# just a normal function or what else?

Do you mean the function in C# should call the GET end point of JIRA plugin?

> Do you mean the function in C# should call the GET end point of JIRA plugin?

Yes. I do not know your design but it will be something like that I guess.

Hello Jobin,

Thanks for your clarify. I will try to implement in this way and see if it works.

Best regards,

Dongmei Liu

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

125 views 2 0
Join discussion

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