Skip to content

feat(project): list and create Jira projects (project list / project create --like) #151

Closed

Description

@f3rdy

Problem

budjira project only syncs and shows cached metadata of an already configured project. Two gaps:

  1. There is no way to list the projects of an instance. budjira search "project = KEY" answers "No issues found" both for an empty project and for a key that does not exist, so "does this project exist?" cannot be answered with budjira.
  2. Creating a project needs hand-written REST calls. Teams running several small projects on one instance usually want a new project to share the issue types, workflow and screens of an existing one, plus a Kanban board.

Proposal

  • budjira project list — key, name, id, style (company-/team-managed), lead.
  • budjira project create KEY --name NAME --like REFKEY [--board kanban] [--dry-run] — company-managed project reusing REFKEY's issue type, workflow and screen schemes; lead = current user; then a filter project = KEY ORDER BY Rank ASC and a Kanban board on it. --dry-run prints the payloads (as in feat(create/update): --dry-run that prints the exact payload before sending #135).

Jira Cloud behaviour to handle

  • POST /rest/api/3/project rejects projectTemplateKey together with explicit schemes — create with schemes and no template, then add the board via a filter and POST /rest/agile/1.0/board.
  • Setting permissionScheme fails on the Free plan ("Changing permission schemes is not allowed on the Jira free plan") — omit it, or report it clearly.

Acceptance

  • project list shows every project the token can see, with its style.
  • project create NEW --like EXISTING creates the project with the reference schemes and a Kanban board; after project sync, project show NEW lists the same issue types as EXISTING.
  • Clear errors for: key already taken, missing admin permission, the free-plan permission-scheme restriction.

Activity

  1. added
    enhancement
    priority:medium
    on Nov 3, 2026
  2. f3rdy commented on Nov 3, 2026

    @f3rdy
    ContributorAuthor

    Released in v1.38.0 (PR #152). Verified live on a Jira Cloud Free instance: project list, then project create … --like <company-managed project> created the project with the reference's three schemes, identical issue types, a project-shared filter and a Kanban board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions