mozilla / jira-bugzilla-integration

Jira Bugzilla Integration (JBI) - system to sync bugs and issues
Mozilla Public License 2.0
8 stars 22 forks source link

Investigate if Jira client `update_issue_field` method also works with `status` and `labels` #892

Open leplatrem opened 4 months ago

leplatrem commented 4 months ago

Currently we use at least 3 methods to set Jira issues fields:

If we could use update_issue_field() for all, we could refactor and optimize API calls.

For status, transitions are implied, which may not allow to use arbitrary updates methods...

https://github.com/atlassian-api/atlassian-python-api/blob/0a5bc5ee72427be0ec16ce5db4f4b091f7a00ddc/atlassian/jira.py#L1768-L1775

See https://github.com/mozilla/jira-bugzilla-integration/pull/889