Skip to content

create_release_tasks.pl: distinguish between submitter and assignee

Marek Szuba requested to merge create_release_tasks-submitter_vs_relco into master

Created by: mkszuba

Description

Add a command-line option specifying the user to connect to JIRA as in the event they are not the RelCo to be assigned the release tickets.

Use case

Useful when the person running the script is not in fact the RelCo for the next release, as it has already been the case before.

Benefits

Saves one having to manually reassign all the newly created tickets to the actual RelCo.

Possible Drawbacks

None I can think of, if you omit that option the RelCo user name will as before be used both to connect to JIRA and as the assignee.

Testing

Have you added/modified unit tests to test the changes?

No.

If so, do the tests pass/fail?

N/A

Have you run the entire test suite and no regression was detected?

N/A but I have run the script (in dry-run mode to avoid polluting JIRA) and everything seems in order - the correct users are used both for connecting and in the "assignee" field of JSON that would be posted to the server.

Merge request reports