How to connect my OWN app through AppLink

courchesne December 15, 2020

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 :

  1. Developper change to issue from « to do » to « done »
  2. Jira post-function call my Web service
    1. The OAuth2 dance occur and my user is prompted if the Jira App isn't authrized
  3. My web service move a file into my app file system to another directory
  4. 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??

0 answers

Suggest an answer

Log in or Sign up to answer