So, we have Jira Software to keep track of our software bugs. We also have an in-house software with a REST API that tracks files and does some monitoring of new files coming in etc. One of its jobs is to keep track of the duplicate files that are stored in different paths in the hard disks. What i want is to implement an app that is triggered when a user is uploading a file in jira. At that time a rest api call should ask our other software if this file has duplicates and if it does inform the user (maybe with an alert box) that duplicates exist (maybe also show the paths of these duplicates). Can you give me some guidelines from where to start ?
Hi Dimitris,
while it is hard to understand until not seeing the whole picture (by means of a requirement, as well as current implementation & data) my best guess would be that you can achieve (at least parts) with Webhooks.
"an app that is triggered when a user is uploading a file in jira. At that time a rest api call should ask our other software".
Unfortunately, it is not possible to listen to an event that targets the attaching of a file there are more generic events like issue updated. Maybe this gets you started.
https://developer.atlassian.com/server/jira/platform/webhooks/
An alternativ of some kind would be to call the external API of your in-house software during a workflow transition.
All of this would need further inspection but the basic possibilities (and a good point to start looking at) are Webhooks and post functions in workflows.
Cheers,
Daniel
Hm, what is the full use case ?
would you like to decrease disk usage ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it might be helpful to a general file control we are trying to have.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you share what do you mean under file control, please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe a use case?
It's so hard understand is this ok for post analysis or async or pre-analysis or only on-time ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.