Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #4304/4fbba968 backport][stable-4] jira: Use fields in comment to merge in additional data #4347

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Mar 12, 2022

This is a backport of PR #4304 as merged into main (4fbba96).

SUMMARY

The 'fields' parameter could be used to merge in any arbitrary data to a jira comment.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

Enhancement of comment creation in community.general.jira.

ADDITIONAL INFORMATION

In jira issue creation, the 'fields' parameter is used to pass in any arbitrary data.
We adopted this to work also in jira comment creation.

In our jira service desk environment, we use it to set a property to mark the comment as 'internal'.
Look at the example I added.

(Some explanation that helped to find the correct property for this:
https://stackoverflow.com/questions/45031475/how-to-create-an-internal-comment-on-a-jira-issue-using-the-jira-cloud-rest-api )

* jira: Use fields in comment to merge in additional data

* changlog fragment added

* Update changelogs/fragments/4304-jira-fields-in-comment.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* updated fields documentation

* Update plugins/modules/web_infrastructure/jira.py

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 4fbba96)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport feature This issue/PR relates to a feature request module module needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI new_contributor Help guide this first time contributor plugins plugin (any type) web_infrastructure and removed needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI labels Mar 12, 2022
@felixfontein felixfontein merged commit 3158495 into stable-4 Mar 12, 2022
@felixfontein felixfontein deleted the patchback/backports/stable-4/4fbba96841b6942e86e44915536f3e4d06fbb40a/pr-4304 branch March 12, 2022 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request module module new_contributor Help guide this first time contributor plugins plugin (any type) web_infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants