Max Gekk created SPARK-57862:
--------------------------------
Summary: Allow create_spark_jira.py to set the issue description
Key: SPARK-57862
URL: https://issues.apache.org/jira/browse/SPARK-57862
Project: Spark
Issue Type: Improvement
Components: Project Infra
Affects Versions: 5.0.0
Reporter: Max Gekk
h2. What
Extend {{dev/create_spark_jira.py}} (and its helper
{{dev/spark_jira_utils.py}}) so the issue description can be set at creation
time, instead of always creating issues with an empty body.
h2. Why
{{create_jira_issue}} currently hardcodes {{"description": ""}}, so tickets
created via the script have no description and it must be added manually
afterwards. When creating many issues at once (for example a batch of sub-tasks
under an umbrella), being able to populate the description at creation time is
much more efficient.
h2. Changes
* Add {{-d}} / {{--description}} and {{--description-file}} options to
{{create_spark_jira.py}} (mutually exclusive; the file form is convenient for
long, JIRA-wiki-markup bodies).
* Add {{-a}} / {{--affects-version}} to override the auto-detected affected
version.
* Add a {{description}} parameter to {{create_jira_issue}} in
{{spark_jira_utils.py}} and use it in the issue payload (previously hardcoded
to an empty string).
Backward compatible: without the new flags the behavior is unchanged.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]