Jira API provide a create_issues methods to create a list of issues (bulk) in one call. I am wondering if there is a method to add comments for a bulk of issues ? I know that there is add_comment and we can loop around.
thanks
There is no direct Jira API method to add comments in bulk to multiple issues in one call like the create Issues bulk method. The recommended approach is to loop through the issues and use the add comment API for each issue individually. Some users mention that bulk update endpoints do not support bulk commenting, so a loop remains the common solution. Alternatively, Jira Automation rules can help add multiple comments efficiently in workflows if that fits your use case. As far as I know, I think this is the only method.
Hi @Gouiaa
As far as I am aware, there is no direct bulk API endpoint for adding comments to multiple issues in one request.
One option like you mentioned would be to use add_comment inside a loop over the issue keys.
Another option would be to set up a Jira Automation rule:
Trigger: Manual / Issue updated
Action: Add comment
Then you only make one API call to bulk-update issues (like labeling them) and the rule adds comments.
Hope this helps!
Regards
Rajat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.