{"id":18601687,"url":"https://github.com/eficode/jirainstancemanagerrest","last_synced_at":"2026-03-05T16:03:02.559Z","repository":{"id":45375720,"uuid":"511520475","full_name":"eficode/JiraInstanceManagerRest","owner":"eficode","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-05T13:40:20.000Z","size":389623,"stargazers_count":2,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-11T04:52:58.164Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eficode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-07-07T12:33:29.000Z","updated_at":"2024-06-05T13:38:57.000Z","dependencies_parsed_at":"2024-01-16T10:09:08.952Z","dependency_job_id":"52bb505c-f0c1-493e-bd09-ece824ada401","html_url":"https://github.com/eficode/JiraInstanceManagerRest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eficode/JiraInstanceManagerRest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eficode%2FJiraInstanceManagerRest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eficode%2FJiraInstanceManagerRest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eficode%2FJiraInstanceManagerRest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eficode%2FJiraInstanceManagerRest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eficode","download_url":"https://codeload.github.com/eficode/JiraInstanceManagerRest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eficode%2FJiraInstanceManagerRest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30134574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T15:35:27.018Z","status":"ssl_error","status_checked_at":"2026-03-05T15:35:23.768Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-07T02:09:09.838Z","updated_at":"2026-03-05T16:03:01.789Z","avatar_url":"https://github.com/eficode.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jira Instance Manager Rest\n\nJira Instance Manager Rest (JR) is a Groovy library which can perform several administrative tasks solely through the REST API.\n\n## Breaking Changes\n\n* 2.2.0 \n  * **Renaming of Spock related methods**\n    * The following methods where renamed to differentiate from the new runSpockTest-method which uses a custom REST endpoint. \n    Testing has shown the old solution to be slow and unresponsive when the code base is large. This release introduces code for a new \n    endpoint which we hope will be more stable give better output. \n      * runSpockTest -\u003e runSrSpockTest\n      * runSpockTestV6 -\u003e runSrSpockTestV6\n\n* 2.1.0\n  * Switching to Unirest 4 might break some things if you depend on JIM supplying v4\n    * See https://github.com/Kong/unirest-java/blob/main/UPGRADE_GUIDE.md for Unirest breaking changes\n  * Due to problems with shading the standalone version is now released as a separate artifact \"jirainstancemanager-standalone\"\n    * The classifier standalone is no longer used\n\n* 1.1.0: \n  * Almost all static methods in JiraInstanceManagerRest have been removed in order to better facilitate working with multiple JIRA instances and in cooperation with other libraries using Unirest library.\n  * Fixing the unfortunate spelling mistake \"JiraInstanceManagrRest\" in favor for \"JiraInstanceManagerRest\"\n\n## Background\nJira Instance Manager Rest (JR) was created specifically for making automatic testing of JIRA customisations easier. The goal was that JR should be able to take a blank JIRA and configure any settings and customizations necessary to then run a full suite of automated tests.\n\nIf you give JR a blank JIRA, it can help you:\n\n1. Setup a local H2 database\n2. Create an admin account, disable e-mail, install a JIRA license, set BaseURL\n3. Create new projects (with or without sample data)\n4. Install Apps from Atlassian Marketplace and their licenses\n5. Aquire webSudo cookies\n6. Use ScriptRunners \"Switch User\" functionality to act as a different user\n7. Create ScriptRunner customisations such as REST-endpoints, DB-resources\n8. Run Groovy-scripts or Spoc-tests with ScriptRunner\n9. Import/Export Insight Schemas\n\n\n## What Jira Instance Manager Rest IS NOT\n\nJR is **NOT FOR PRODUCTION USE**, JR relies heavily on private and undocumented APIs, these can change without note.\nJR comes with Spoc tests that cover many of the functionalities, but they do not cover all use cases in all situations.\n\n**Never rely on JR functioning in an unsupervised situation, especially in production**\n\n\n## What Jira Instance Manager Rest If Great For\n\n### Stop using \"Golden Images\"\n\nAre you using golden images of JIRA instances/databases for testing but find them cumbersome to keep up to date?\nWhy not script the entire deployment?\n\n### Got a heavily customised workload in JIRA?\n\nDo you have a workload in JIRA that depends heavily on scripted customisations?\nWith docker and SR you can automate the setup of the workload and then run Spoc/Junit tests on it to confirm any changes have the expected outcomes.\n\n\n## Adding JR as a dependency\n\nJR packages are published to a separate branch in the JR repository called '[packages](https://github.com/eficode/JiraInstanceManagerRest/tree/packages/repository/com/eficode/atlassian/jirainstancemanager)'. **Check this branch for the most up to date version number**\n\n### Maven (POM)\n```XML\n\u003cdependencies\u003e\n   \u003cdependency\u003e\n       \u003cgroupId\u003ecom.eficode.atlassian\u003c/groupId\u003e\n       \u003cartifactId\u003ejirainstancemanager\u003c/artifactId\u003e\n       \u003cversion\u003e1.1.0-SNAPSHOT\u003c/version\u003e\n   \u003c/dependency\u003e\n\u003c/dependencies\u003e\n...\n\u003crepositories\u003e            \n    \u003crepository\u003e\n           \u003cid\u003egithub-jiraManagerRest\u003c/id\u003e\n           \u003curl\u003ehttps://github.com/eficode/JiraInstanceManagerRest/raw/packages/repository/\u003c/url\u003e\n       \u003c/repository\u003e\n\u003c/repositories\u003e\n```\n\n\n### Groovy (Grape)\n\n```Groovy\n@GrabResolver(name = 'github', root = 'https://github.com/eficode/JiraInstanceManagerRest/raw/packages/repository/')\n@Grab(group = 'com.eficode.atlassian', module = 'jirainstancemanager', version = '1.1.0-SNAPSHOT')\n\nimport com.eficode.atlassian.jiraInstanceManager.JiraInstanceManagerRest\n\nJiraInstanceManagerRest instanceManager = new JiraInstanceManagerRest(\"http://jira.domain.com\")\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feficode%2Fjirainstancemanagerrest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feficode%2Fjirainstancemanagerrest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feficode%2Fjirainstancemanagerrest/lists"}