You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
major_version: int=Field(description="RHEL major version (e.g., 8, 9, 10)")
12
+
is_critical: bool=Field(description="Whether this is a most critical issue requiring Z-stream (e.g., privilege escalation, remote code execution, data loss)", default=False)
13
+
14
+
15
+
classVersionMapperResult(BaseModel):
16
+
fix_version: str=Field(description="The appropriate fix version for the given major version and criticality")
* The package mentioned in the issue cannot be found or identified
198
202
* The issue cannot be accessed
199
203
204
+
**Final Step: Set JIRA Fields (for Rebase and Backport decisions only)**
205
+
206
+
If your decision is rebase or backport, use set_jira_fields tool to update JIRA fields (Severity, Fix Version, Target End):
207
+
1. Check all of the mentioned fields in the JIRA issue and don't modify those that are already set
208
+
2. Extract the affected RHEL major version from the JIRA issue (look in Affects Version/s field or issue description)
209
+
3. Determine if this is a very critical issue requiring Z-stream (only for: privilege escalation, remote code execution, data loss/corruption, or system compromise)
210
+
4. Use map_version tool with the major version and criticality to get the appropriate Fix Version and branch
211
+
5. Set JIRA fields:
212
+
* Severity: default to 'moderate', for important issues use 'important', for most critical use 'critical' (privilege escalation, RCE, data loss)
213
+
* Fix Version: use the fix_version from map_version tool result
214
+
* Target End: today + 14 days
215
+
6. Use the branch from map_version tool result for your output
216
+
200
217
**Output Format**
201
218
202
219
Your output must strictly follow the format below.
"Use the `think` tool to reason through complex decisions and document your approach.",
258
276
"Be proactive in your search for fixes and do not give up easily.",
259
-
],
277
+
"After completing your triage analysis, if your decision is backport or rebase, always set appropriate JIRA fields per the instructions using set_jira_fields tool.",
0 commit comments