jirun 0.24.0

A CLI tool that generates JIRA sub-task(s) with pre-populated field values
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>;
}