{"id":16475968,"url":"https://github.com/softprops/goji","last_synced_at":"2025-04-07T10:25:51.110Z","repository":{"id":3645694,"uuid":"50407369","full_name":"softprops/goji","owner":"softprops","description":"a rust interface for jira","archived":false,"fork":false,"pushed_at":"2022-09-11T15:26:47.000Z","size":755,"stargazers_count":76,"open_issues_count":13,"forks_count":43,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T08:12:03.248Z","etag":null,"topics":["jira","jira-client","rust-library"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softprops.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-26T06:03:12.000Z","updated_at":"2025-03-19T15:20:34.000Z","dependencies_parsed_at":"2022-08-08T04:00:02.964Z","dependency_job_id":null,"html_url":"https://github.com/softprops/goji","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fgoji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fgoji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fgoji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fgoji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softprops","download_url":"https://codeload.github.com/softprops/goji/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247633887,"owners_count":20970413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jira","jira-client","rust-library"],"created_at":"2024-10-11T12:41:05.766Z","updated_at":"2025-04-07T10:25:51.080Z","avatar_url":"https://github.com/softprops.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goji [![Build Status](https://travis-ci.org/softprops/goji.svg?branch=master)](https://travis-ci.org/softprops/goji) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE) [![crates.io](http://meritbadge.herokuapp.com/goji)](https://crates.io/crates/goji) [![Released API docs](https://docs.rs/goji/badge.svg)](http://docs.rs/goji) [![Master API docs](https://img.shields.io/badge/docs-master-green.svg)](https://softprops.github.io/goji)\n\n\u003e a rust interface for [jira](https://www.atlassian.com/software/jira)\n\n## install\n\nAdd the following to your `Cargo.toml` file\n\n```toml\n[dependencies]\ngoji = \"0.2\"\n```\n\n## usage\n\nPlease browse the [examples](examples/) directory in this repo for some example applications.\n\nBasic usage requires a jira host, and a flavor of `jira::Credentials` for authorization. For user authenticated requests you'll typically want to use `jira::Credentials::Basic` with your jira username and password.\n\nCurrent support api support is limited to search and issue transitioning.\n\n```rust\nextern crate env_logger;\nextern crate goji;\n\nuse goji::{Credentials, Jira};\nuse std::env;\n\nfn main() {\n    drop(env_logger::init());\n    if let (Ok(host), Ok(user), Ok(pass)) =\n        (\n            env::var(\"JIRA_HOST\"),\n            env::var(\"JIRA_USER\"),\n            env::var(\"JIRA_PASS\"),\n        )\n    {\n        let query = env::args().nth(1).unwrap_or(\"assignee=doug\".to_owned());\n\n        let jira = Jira::new(host, Credentials::Basic(user, pass)).unwrap();\n\n        match jira.search().iter(query, \u0026Default::default()) {\n            Ok(results) =\u003e {\n                for issue in results {\n                    println!(\"{:#?}\", issue);\n                }\n            }\n            Err(err) =\u003e panic!(\"{:#?}\", err),\n        }\n    }\n}\n```\n\n## what's with the name\n\nJira's name is a [shortened form of gojira](https://en.wikipedia.org/wiki/Jira_(software)),\nanother name for godzilla. Goji is a play on that.\n\nDoug Tangren (softprops) 2016-2018\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftprops%2Fgoji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftprops%2Fgoji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftprops%2Fgoji/lists"}