ZenHub
Seamlessly integrate the GitHub issue management software, ZenHub, with your favorite APIs, databases, and programming languages, using WayScript.
GitHub Issue Management Software

​
πŸ”‘
Connecting your ZenHub Account

You will need:
  • Repo ID - The easiest way to find this is to look at your ZenHub dashboard query strings. i.e. ?repos=129749216

​
βš™
Modes

​
πŸ”’
Get Issues

πŸ“₯
Inputs

  • Issue #
​
πŸ“€
Outputs
1
issue_data = {
2
plus_ones : [ string, ],
3
is_epic : Bool,
4
pipelines : [ {
5
name : String,
6
pipeline_id : String,
7
workspace_id : String,
8
} ],
9
pipeline : {
10
name : String,
11
pipeline_id : String,
12
workspace_id : String,
13
}
14
}
Copied!

​
πŸ”’
Get Issue Events

​
πŸ“₯
Inputs

  • Issue #
​
πŸ“€
Outputs
1
issue_events = [ {
2
user_id : Int,
3
type : String,
4
created_at : String,
5
workspace_id : String,
6
from_estimate : {
7
value : Float,
8
},
9
to_estimate : {
10
value : Float( ),
11
},
12
from_pipeline : {
13
name : String,
14
},
15
to_pipeline : {
16
name : String,
17
}
18
} ]
Copied!

​
πŸ”’
Set Issue Estimate

​
πŸ“₯
Inputs

  • Issue #
  • estimate
​
πŸ“€
Outputs
A 444 response code is used for testing and demo modes. A 200 response code would indicate a successful set estimate.
1
response_code = int
Copied!

​
πŸ”’
Get Epic Data

​
πŸ“₯
Inputs

  • Epic #
πŸ“€ Outputs
1
epic_data = {
2
total_epic_estimates : {
3
value : Int,
4
},
5
estimate : {
6
value : Int
7
},
8
pipeline : {
9
workspace_id : String,
10
name : String,
11
pipeline_id : String
12
},
13
pipelines : [ {
14
workspace_id : String,
15
name : String,
16
pipeline_id : String
17
} ],
18
issues : [ {
19
issue_number : Int,
20
is_epic : String,
21
repo_id : Int,
22
estimate: {
23
value : Int
24
},
25
} ]
26
}
Copied!
​

​
πŸ”’
Get Release Reports

​
πŸ“₯
Inputs

  • Release I.D. String
πŸ“€ Outputs
1
release_report = {
2
release_id : String,
3
title : String,
4
description : String,
5
start_date : String,
6
desired_end_date : String,
7
created_at : String,
8
closed_at : String,
9
state : String,
10
repositories : [ String ]
11
}
Copied!
Last modified 1yr ago