I have an application with some REST Services that I want to incorporate into Jira with some post-function.
Example :
My web service : https://myapp.com/rest/move-directory
Authentification : OAuth2 with Authorization code
Jira integration :
- Developper change to issue from « to do » to « done »
- Jira post-function call my Web service
- The OAuth2 dance occur and my user is prompted if the Jira App isn't authrized
- My web service move a file into my app file system to another directory
- Done
What is the best way to do it?
I'm trying these right now :
- Embed all code in my Groovy post-function script
- I could do the authentication code with a client/credential hardcoded then do my request but...you know...that would be bad..
- This will work but it's a real ugly solution considering that I will add others functionnality like theses
- Use AppLink to configure connection with my Webservice
- This seem to be working only with Atlassian App et not non-Atlassian App
- Found no thread on this one
Any suggestion??