Joe Lee

Results 26 comments of Joe Lee

Set `fields` for `search_issues` is a workaround, but you have to set other fields as well. `issues = jira.search_issues(query, fields='comment,reporter', expand="changelog", maxResults=max_result)`

have you set correct Jenkins URL in system configuration ?

yes, it does, any parameter supported by requests can be used to init `Jenkins`, see : https://api4jenkins.readthedocs.io/en/latest/user/example.html#jenkins, example to disable ssl verify: ```python from api4jenkins import Jenkins client = Jenkins('http://127.0.0.1:8080/',...

yes, use dict, here is code snippet ```python parameters = {'arg1': 'values', 'args': 'value2'} job.build(**parameters) ```

the warning tells the answer https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings , add snippet before your code ```python import urllib3 urllib3.disable_warnings() ```

yes, it's same in UI. you have to edit the configuration of folder to update description. to update description of other views, you can use `view.description` and `view.set_description('xxx')`

yes, i know, this lib post description to endpoint `/job//submitDescription` to set description, ideally it should set description for folder, but seems not.

yes, that's what i said. maybe the folder plugin should make some change.

@pbarthelemy there is no API to access the properties of job directly, but you can parse from configuration returned by `job.configure()` ; eg. git URL is in tag `scm` ```xml...

you may want to try https://api4jenkins.readthedocs.io/en/latest/index.html