Coder Social home page Coder Social logo

ws1_jira_service_desk_connector's Introduction

WS1Jira Service Desk Approval Connector

This connector allows a user to view, approve, or decline Approvals in their Jira Service Desk approval queue.

Discovery

The discovery URL is of the form:

https://base_url/

Card Response

The sample card looks something like this:

    {
        "objects": [
            {
                "image": {
                    "href": "https://{base_url}/jiraservicedesk/images/connector.png"
                },
                "body": {
                    "fields": [
                        {
                            "type": "COMMENT",
                            "title": "Description",
                            "description": "I need an iPhone XS Max 256GB for testing the 2020 iOS14 alpha."
                        },
                        {
                            "type": "GENERAL",
                            "title": "Reporter",
                            "description": "David Customer"
                        },
                        {
                            "type": "GENERAL",
                            "title": "Request Type",
                            "description": "New mobile device"
                        },
                        {
                            "type": "GENERAL",
                            "title": "Status",
                            "description": "Waiting for approval"
                        },
                        {
                            "type": "GENERAL",
                            "title": "Date Created",
                            "description": "Today 3:32 PM"
                        }
                    ],
                    "description": "https://{jsd_instance}.atlassian.net/servicedesk/customer/portal/1/FSDP-41"
                },
                "actions": [
                    {
                        "action_key": "DIRECT",
                        "id": "41d5db66-eb92-42be-930e-ca1bc7859f1e",
                        "user_input": [],
                        "request": {
                            "decision": "approve",
                            "issueKey": "FSDP-41"
                        },
                        "repeatable": false,
                        "primary": true,
                        "label": "Approve",
                        "completed_label": "Approved",
                        "type": "POST",
                        "url": {
                            "href": "https://prod.hero.vmwservices.com/hero/connectors/{connectorid}/card/jiraservicedesk/actions"
                        }
                    },
                    {
                        "action_key": "DIRECT",
                        "id": "4b9e26e7-88a8-4205-a692-1724c25799b9",
                        "user_input": [],
                        "request": {
                            "decision": "decline",
                            "issueKey": "FSDP-41"
                        },
                        "repeatable": false,
                        "primary": false,
                        "label": "Decline",
                        "completed_label": "Declined",
                        "type": "POST",
                        "url": {
                            "href": "https://prod.hero.vmwservices.com/hero/connectors/{connectorid}/card/jiraservicedesk/actions"
                        }
                    }
                ],
                "id": "{connectorid}",
                "backend_id": "FSDP-41",
                "hash": "sDsVlXMKsWovzN2JdniE+uQO75tXx0W4gMGBpQRrzGk=",
                "header": {
                    "title": "iPhone XS Max ",
                    "subtitle": [
                        "FSDP-41"
                    ]
                }
            }
        ]
    }

Each card has two actions -- Approve, or Decline

ws1_jira_service_desk_connector's People

Contributors

davidpshaw avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.