Skip to content

[SPARK-57862][INFRA] Allow create_spark_jira.py to set the issue description#56938

Open
MaxGekk wants to merge 1 commit into
apache:masterfrom
MaxGekk:SPARK-57862
Open

[SPARK-57862][INFRA] Allow create_spark_jira.py to set the issue description#56938
MaxGekk wants to merge 1 commit into
apache:masterfrom
MaxGekk:SPARK-57862

Conversation

@MaxGekk

@MaxGekk MaxGekk commented Jul 1, 2026

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR extends dev/create_spark_jira.py (and its helper dev/spark_jira_utils.py) so the JIRA description can be set at creation time:

  • Add -d/--description and --description-file options (mutually exclusive) to create_spark_jira.py.
  • Add a description parameter to create_jira_issue and use it in the issue payload (previously hardcoded to an empty string).

Backward compatible: without the new flags the behavior is unchanged.

Why are the changes needed?

create_jira_issue hardcoded "description": "", so tickets created via the script had no body and the description had to be added manually afterwards. When creating many issues at once (e.g. a batch of sub-tasks under an umbrella), populating the description at creation time is much more efficient.

Does this PR introduce any user-facing change?

No. This is a developer tooling change; without the new flags the behavior is unchanged.

How was this patch tested?

Manually created JIRA sub-tasks with --description-file and verified the description on the resulting issues.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Cursor

…ription

### What changes were proposed in this pull request?
This PR extends `dev/create_spark_jira.py` (and its helper `dev/spark_jira_utils.py`) so the JIRA description can be set at creation time:
- Add `-d`/`--description` and `--description-file` options (mutually exclusive) to `create_spark_jira.py`.
- Add a `description` parameter to `create_jira_issue` and use it in the issue payload (previously hardcoded to an empty string).

Backward compatible: without the new flags the behavior is unchanged.

### Why are the changes needed?
`create_jira_issue` hardcoded `"description": ""`, so tickets created via the script had no body and the description had to be added manually afterwards. When creating many issues at once (e.g. a batch of sub-tasks under an umbrella), populating the description at creation time is much more efficient.

### Does this PR introduce _any_ user-facing change?
No. This is a developer tooling change; without the new flags the behavior is unchanged.

### How was this patch tested?
Manually created JIRA sub-tasks with `--description-file` and verified the description on the resulting issues.

### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant