Giter VIP home page Giter VIP logo

psinsight's Introduction

PSInsight


PSInsight is a Powershell wrapper to interface with Jira Insight's API.

PSInsight can be used to build or modify the Jira Insight schema or to add or modify assets within the asset management database.

Links to Insight API information for each function can be found under links via Get-Help

Get-Help Get-InsightObjectSchema

Getting Started

Using PowershellGallery

Install-Module PSInsight
Import-Module PSInsight

Using Git

Clone the repository.

git clone "https://github.com/DamagedDingo/PSInsight.git"

Place directory into a module directory (e.g. $env:USERPROFILE\Documents\WindowsPowerShell\Modules).

Move-Item -path ".\psinsight\psinsight" -Destination "$env:USERPROFILE\Documents\WindowsPowerShell\Modules"

Import the module.

Import-Module PSInsight

Using your API Key

Almost all commands require an API key.

For ease of use, each command looks for the variable automatically in the following order:
In the global scope for InsightApiKey
As passed as parameters to the command
As an AutomationVariable
A prompt to host to enter Key manually

Example Script

The Examples folder contains samples on how to build the schema as well as object types. The corrisponding JSON file will show how to structure the data for the builder scripts.

Schema Attributes

Available Functions

Use get-help for more information about each function.

Icons

Get-InsightIcons  

Object Schema

Get-InsightObjectSchema
New-InsightObjectSchema
Remove-InsightObjectSchema
Set-InsightObjectSchema

Object Type Attributes

Get-InsightObjectTypeAttributes
New-InsightObjectTypeAttributes
Remove-InsightObjectTypeAttributes
Set-InsightObjectTypeAttributes

Object Types

Get-InsightObjectTypes
New-InsightObjectTypes
Remove-InsightObjectTypes
Set-InsightObjectTypes

Objects

Get-InsightObject
New-InsightObject
New-InsightObjectAttribute
Remove-InsightObject
Set-InsightObject

Statuses

Get-InsightStatuses
New-InsightStatuses
Remove-InsightStatuses
Set-InsightStatuses

Build

These are custom functions to build out your Schema and ObjectTypes as per the example scripts.

Build-Schema
Build-ObjectTypes
Test-Module

Private

New-InsightHeaders

psinsight's People

Contributors

damageddingo avatar actions-user avatar corneliusweinschrod 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.