質問編集履歴

3

修正

2017/07/16 20:14

投稿

kenshuuke
kenshuuke

スコア15

test CHANGED
File without changes
test CHANGED
@@ -12,24 +12,4 @@
12
12
 
13
13
 
14
14
 
15
- ↓、追加の内容です。
16
-
17
-
18
-
19
- ```ここに言語を入力
20
-
21
- #!/bin/bash
22
-
23
-
24
-
25
- date=`date +"%Y-%m-%d" -d "7 days"`
26
-
27
-
28
-
29
- echo $date
30
-
31
-
32
-
33
- curl -v -H "Content-Type: application/json" POST -d '{"issue":{"project_id": 2, "subject": "API", "tracker_id": 1, "description":"test", "due_date": "$date" ,"custom_fields" : [{"id": 2, "value": "4"}]}}' http://localhost/redmine/issues.json?key=3f57b0e3c8c66be7d00731d4219aa89cf392f278
34
-
35
15
  ```

2

修正

2017/07/16 20:14

投稿

kenshuuke
kenshuuke

スコア15

test CHANGED
File without changes
test CHANGED
@@ -16,6 +16,8 @@
16
16
 
17
17
 
18
18
 
19
+ ```ここに言語を入力
20
+
19
21
  #!/bin/bash
20
22
 
21
23
 
@@ -29,3 +31,5 @@
29
31
 
30
32
 
31
33
  curl -v -H "Content-Type: application/json" POST -d '{"issue":{"project_id": 2, "subject": "API", "tracker_id": 1, "description":"test", "due_date": "$date" ,"custom_fields" : [{"id": 2, "value": "4"}]}}' http://localhost/redmine/issues.json?key=3f57b0e3c8c66be7d00731d4219aa89cf392f278
34
+
35
+ ```

1

追加の質問を反映

2017/07/16 02:39

投稿

kenshuuke
kenshuuke

スコア15

test CHANGED
File without changes
test CHANGED
@@ -9,3 +9,23 @@
9
9
 
10
10
 
11
11
  ↑の記述に追加する場合です。
12
+
13
+
14
+
15
+ ↓、追加の内容です。
16
+
17
+
18
+
19
+ #!/bin/bash
20
+
21
+
22
+
23
+ date=`date +"%Y-%m-%d" -d "7 days"`
24
+
25
+
26
+
27
+ echo $date
28
+
29
+
30
+
31
+ curl -v -H "Content-Type: application/json" POST -d '{"issue":{"project_id": 2, "subject": "API", "tracker_id": 1, "description":"test", "due_date": "$date" ,"custom_fields" : [{"id": 2, "value": "4"}]}}' http://localhost/redmine/issues.json?key=3f57b0e3c8c66be7d00731d4219aa89cf392f278