write workpackage on openproject

This commit is contained in:
2024-01-08 13:26:09 +01:00
parent 5b34a51d90
commit a17901a6d6
15 changed files with 739 additions and 82 deletions

14
src/gitlab/issue.rs Normal file
View File

@@ -0,0 +1,14 @@
use gitlab::Issue;
use gitlab::Project;
/// A struct which contains Issue and Project
pub struct IssueBundle {
pub issue: Issue,
pub project: Project
}
impl IssueBundle {
pub fn new(issue: &Issue, project: &Project) -> Self {
IssueBundle{issue: issue.clone(), project: project.clone()}
}
}