Skip to content

Commit da4f85d

Browse files
pragnagopaelprans
authored andcommitted
Added template to create issue
1 parent ac7d986 commit da4f85d

File tree

1 file changed

+95
-0
lines changed

1 file changed

+95
-0
lines changed

ISSUE_TEMPLATE.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
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 version (1.0 or 2.0-beta):
12+
- Function App name:
13+
- Function name(s) (as appropriate):
14+
- Invocation ID:
15+
- Region:
16+
17+
<!--
18+
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.
19+
-->
20+
21+
#### Repro steps
22+
23+
Provide the steps required to reproduce the problem:
24+
25+
<!--
26+
Example:
27+
28+
1. Step A
29+
2. Step B
30+
-->
31+
32+
#### Expected behavior
33+
34+
Provide a description of the expected behavior.
35+
36+
<!--
37+
Example:
38+
39+
- After I perform step B, the lights in the house should turn off.
40+
-->
41+
42+
#### Actual behavior
43+
44+
Provide a description of the actual behavior observed.
45+
46+
<!--
47+
Example:
48+
49+
- Step B actually causes my cat to meow for some reason.
50+
-->
51+
52+
#### Known workarounds
53+
54+
Provide a description of any known workarounds.
55+
56+
<!--
57+
Example:
58+
59+
- Turn off the circuit breaker for the lights.
60+
-->
61+
62+
#### Related information
63+
64+
Provide any related information
65+
66+
* Programming language used
67+
* Links to source
68+
* Bindings used
69+
<!-- Uncomment this if you want to include your source (wrap it in details to make browsing easier)
70+
<details>
71+
<summary>Source</summary>
72+
73+
```csharp
74+
public static async Task<HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.AuthLevelValue, "get", "post", Route = null)]HttpRequestMessage req, TraceWriter log)
75+
{
76+
log.Info("C# HTTP trigger function processed a request.");
77+
78+
// parse query parameter
79+
string name = req.GetQueryNameValuePairs()
80+
.FirstOrDefault(q => string.Compare(q.Key, "name", true) == 0)
81+
.Value;
82+
83+
// Get request body
84+
dynamic data = await req.Content.ReadAsAsync<object>();
85+
86+
// Set name to query string or body data
87+
name = name ?? data?.name;
88+
89+
return name == null
90+
? req.CreateResponse(HttpStatusCode.BadRequest, "Please pass a name on the query string or in the request body")
91+
: req.CreateResponse(HttpStatusCode.OK, "Hello " + name);
92+
}
93+
```
94+
</details>
95+
-->

0 commit comments

Comments
 (0)