We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aeaaa5 commit 9edc8b6Copy full SHA for 9edc8b6
1 file changed
jira_cloud/searchJqlIterate.groovy
@@ -0,0 +1,16 @@
1
+//Script to perform search to get list of issues and then iterate over them
2
+
3
+def response = get('/rest/api/2/search?jql=filter=10047')
4
+ .header('Content-Type', 'application/json')
5
+ .asObject(Map)
6
7
+response.body.issues.each { it ->
8
9
+ getIssueDetails(it)
10
11
+}
12
13
+def getIssueDetails(issue) {
14
15
+ logger.info("Issue Key: " + issue.key +", "+ issue.fields.priority.name)
16
0 commit comments