Package: atlssncli
Simple command-line client unifying access toAtlassian® services.ContentsOverviewInstallationConfigurationAutocompletionBashZshBasic usageCommand referenceinfoShow information about JIRA® serviceShow information about Bamboo® serviceagentShow information about Bamboo® agentsprojectList all available projectsSelect currently active projectGet information about specific projectList project componentsList project issue typesboard - manage Jira® boardsGet board backlogGet board listSet default boardGet board statussprint - manage sprintsList all sprints or sprints in a given stateCreate sprintRename sprintStart sprintStop sprintGet sprint statusList sprint issuesList sprint issues by assigneeList sprint issues by statusissue - manage issuesGet issue types for active projectGet issue types for specific projectCreate issueEdit issueGet issue statusAssign issueGet issue changelogAdd issue commentChange issue stateLink issuesList issue attachmentsAdd issue attachmentDelete issue attachmentList possible issue transitionsTransition issue to different stateList possible issue resolutionsResolve issueCreate branch from issueList Git branches for issueTODOLicenseOverviewatlssncliis a simple command-line utility written in Python
enabling easy, context-based access to various features of Atlassian®
services over REST API. The context can be specified in the configuration
file in terms of current board or project, and also is extracted
automatically from the Git branch of the current working directory.The goal of this project is to provide a concise command-line
interface for everyday tasks involving sprint, issue and build
management.atlssnclifocuses on simplicity over completeness,
to provide as quick as possible access to most commonly used features,
assuming that more complex can be achieved otherwise, e.g. using web
interface or other command line clients.Please note, thatatlssncliis tested with Jira® version 7.12.3 and Bamboo®
version 6.9.2 only.InstallationpipinstallatlssncliConfigurationConfiguration file should be placed in~/.atlssncli/config.ini:[common]username=usernamepassword=passwordversion=6active_project=BKP[jira]endpoint=https://jira.example.com/rest/api/latest[agile]endpoint=https://jira.example.com/rest/agile/latestboard=7sprint_duration=14[bamboo]endpoint=https://bamboo.example.com/rest/api/latestcomponent1=BKP-CMP1component2=BKP-CMP2component3=BKP-CMP3AutocompletionBashAdd the following line to your~/.bashrc:eval"$(_ATLSSN_COMPLETE=source_bashatlssn)"ZshAdd the following line to your~/.zshrc:eval"$(_ATLSSN_COMPLETE=source_zshatlssn)"Basic usage…Command referenceinfoShow information about services.Show information about JIRA® serviceatlssninfojiraShow information about Bamboo® serviceatlssninfobambooagentBamboo® agents information, REST API for agents only supports a single method.Show information about Bamboo® agentsatlssnagentlistprojectManage projects in the Jira® and Bamboo® services.List all available projectsatlssnprojectlistSelect currently active projectatlssnprojectselect<project_key>Get information about specific projectatlssnprojectinfo[<project_key>]List project componentsatlssnprojectlist-components[<project_key>]List project issue typesatlssnprojectlist-issue-types[<project_key>]board - manage Jira® boardsGet board backlogatlssnboardbacklog[-a|--assignee<user_id>][-q|--jql<jql_query>]# Examplesatlssnboardbacklog-q'status = "Open" AND assignee = "bkryza"'atlssnboardbacklog-abkryzaGet board listatlssnboardlistSet default boardatlssnboardselect<board_id>Get board statusatlssnboardstatus[<board_id>]sprint - manage sprintsBelow commands, which accept optional sprint_id,
will act on active sprint when sprint_id is not provided.List all sprints or sprints in a given stateatlssnsprintlist[--active|--future|--closed]Create sprintatlssnsprintcreate[-n|--name<name>][-s|--start-dateYYYY-MM-DD][-d|--duration<days>]Rename sprintatlssnsprintrename<sprint_id><new_name>Start sprintatlssnsprintstart<sprint_id>[<start_date>[<duration>]]Stop sprintatlssnsprintstop<sprint_id>Get sprint statusatlssnsprintstatus[<sprint_id>]List sprint issuesatlssnsprintissues[<sprint_id>]List sprint issues by assigneeatlssnsprintissues[<sprint_id>]--assigneejohndoeList sprint issues by statusatlssnsprintissues[<sprint_id>]--resolved--closedissue - manage issuesGet issue types for active project**atlssnissuetypesGet issue types for specific project**atlssnissuetypes<project_id>Create issue**atlssnissuecreate<summary>[-t|--type<issue_type>][-a|--assignee<username>][-r|--reporter<username>][-i|--priority<priority>][-l|--labels<label>,<label>,...,<label>][-d|--description<text>][-x|--fix-versions<versions>][-c|--components<component>,...,<component>]Edit issue**atlssnissueedit<issue_id>[-t|--type<issue_type>][-a|--assignee<username>][-r|--reporter<username>][-i|--priority<priority>][-l|--labels<label>,<label>,...,<label>][-d|--description<text>][-x|--fix-versions<versions>][-c|--components<component>,...,<component>]Get issue statusatlssnissuestatus<issue_id>Assign issueatlssnissueassign<issue_id><username>Get issue changelog**atlssnissuechangelog<issue_id>Add issue comment**atlssnissuecomment<issue_id><comment>Change issue state**atlssnissueupdate<issue_id><comment>Link issues**atlssnissuelink<issue_id><outward_issue_id>List issue attachments**atlssnissueattachments<issue_id>Add issue attachment**atlssnissueattach<issue_id><file_path>Delete issue attachment**atlssnissuedetach<issue_id><file_name>List possible issue transitions**atlssnissuetransitions<issue_id>Transition issue to different state**atlssnissuetransition<issue_id><state_name>List possible issue resolutions**atlssnissueresolutions<issue_id>Resolve issue**atlssnissueresolve<issue_id><resolution>Create branch from issue**atlssnissuebranch<issue_id><state_name>List Git branches for issue**atlssnissuebranches<issue_id>TODORefactor output formatting to enable custom formattersAdd OAuth supportMove todo’s to GitHub issuesLicenseCopyright 2019-present Bartosz Kryza <bkryza@gmail.com>Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.All Atlassian® services referenced in this project are registered
trademarks of Atlassian Corporation Plc.The author of this project is not affiliated in any way with
Atlassian Corporation Plc.