Skip to content

Commit a435fbe

Browse files
Christopher Andersonfabiocav
authored andcommitted
Update issue template
1 parent b4e71d4 commit a435fbe

File tree

1 file changed

+68
-4
lines changed

1 file changed

+68
-4
lines changed

ISSUE_TEMPLATE.md

Lines changed: 68 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,94 @@
11

2-
Please provide a succinct description of the issue.
2+
<!--
3+
Please provide a succinct description of the issue. Please make an effort to fill in the all the sections below or we may close your issue for being low quality.
4+
-->
5+
6+
#### Investigative information
7+
8+
Please provide the following:
9+
10+
- Timestamp:
11+
- Function App name:
12+
- Function name(s) (as appropriate):
13+
- Invocation ID:
14+
- Region:
15+
16+
<!--
17+
If you don't want to share your Function App name or Functions names on GitHub, please be sure to provide your Invocation ID, Timestamp, and Region - we can use this to look up your Function App/Function. Provide an invocation id per Function. See the [wiki](https://github.com/Azure/azure-webjobs-sdk-script/wiki/Sharing-Your-Function-App-name-privately) for more details.
18+
-->
319

420
#### Repro steps
521

6-
Provide the steps required to reproduce the problem
22+
Provide the steps required to reproduce the problem:
723

8-
1. Step A
24+
<!--
25+
Example:
926
27+
1. Step A
1028
2. Step B
29+
-->
1130

1231
#### Expected behavior
1332

1433
Provide a description of the expected behavior.
1534

35+
<!--
36+
Example:
37+
38+
- After I perform step B, the lights in the house should turn off.
39+
-->
40+
1641
#### Actual behavior
1742

18-
Provide a description of the actual behavior observed.
43+
Provide a description of the actual behavior observed.
44+
45+
<!--
46+
Example:
47+
48+
- Step B actually causes my cat to meow for some reason.
49+
-->
1950

2051
#### Known workarounds
2152

2253
Provide a description of any known workarounds.
2354

55+
<!--
56+
Example:
57+
58+
- Turn off the circuit breaker for the lights.
59+
-->
60+
2461
#### Related information
2562

2663
Provide any related information
2764

2865
* Programming language used
2966
* Links to source
67+
* Bindings used
68+
<!-- Uncomment this if you want to include your source (wrap it in details to make browsing easier)
69+
<details>
70+
<summary>Source</summary>
71+
72+
```csharp
73+
public static async Task<HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.AuthLevelValue, "get", "post", Route = null)]HttpRequestMessage req, TraceWriter log)
74+
{
75+
log.Info("C# HTTP trigger function processed a request.");
76+
77+
// parse query parameter
78+
string name = req.GetQueryNameValuePairs()
79+
.FirstOrDefault(q => string.Compare(q.Key, "name", true) == 0)
80+
.Value;
81+
82+
// Get request body
83+
dynamic data = await req.Content.ReadAsAsync<object>();
84+
85+
// Set name to query string or body data
86+
name = name ?? data?.name;
3087
88+
return name == null
89+
? req.CreateResponse(HttpStatusCode.BadRequest, "Please pass a name on the query string or in the request body")
90+
: req.CreateResponse(HttpStatusCode.OK, "Hello " + name);
91+
}
92+
```
93+
</details>
94+
-->

0 commit comments

Comments
 (0)