https://github.com/flightaware/tcl-jira-api
Tcl package to interface with the JIRA REST API
https://github.com/flightaware/tcl-jira-api
jira jira-client tcl tcl-extension
Last synced: 6 months ago
JSON representation
Tcl package to interface with the JIRA REST API
- Host: GitHub
- URL: https://github.com/flightaware/tcl-jira-api
- Owner: flightaware
- License: bsd-3-clause
- Created: 2016-07-27T19:37:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-15T23:28:46.000Z (over 4 years ago)
- Last Synced: 2023-04-18T10:34:09.781Z (about 3 years ago)
- Topics: jira, jira-client, tcl, tcl-extension
- Language: Tcl
- Size: 28.3 KB
- Stars: 7
- Watchers: 22
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tcl JIRA REST API Package
===========================
This package provides a Tcl native interface to the JIRA REST API as
documented at https://docs.atlassian.com/jira/REST/cloud/
Requirements
------------
* A [JIRA](https://atlassian.com/JIRA) server or JIRA Cloud instance
* Tcl 8.5 or newer
In Brief
--------
The package can authenticate to the JIRA server using Basic auth (where the
encoded username and password are supplied with every call).
Example Code
------------
#!/usr/bin/env tclsh
package require jira
::jira::config -server example.atlassian.net
::jira::config -username "username" -password "password"
::jira::config -debug 1
puts "The project ID for the example project is [::jira::getItemID project Example]"
::jira::getIssue "EX-1000" issue -getcomments 1
parray issue
::jira::addComment "EX-1000" result -body "Lorem ipsum dolor sit amet"