jirun 0.21.0

A Cli Generating JIRA sub-tasks from a template with a specified parent
Documentation
1
2
3
4
5
6
7
8
9
10
use serde_json::Value;

use crate::JirunResult;

/// Trait for JIRA API behavior (for real or mocked clients)
#[allow(dead_code)]
pub trait JiraApi {
    fn fetch_parent_issue(&self, key: &str) -> JirunResult<Value>;
    fn create_subtask(&self, payload: &Value) -> JirunResult<String>;
}