Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel1

Example: Creating a Jira Service Desk internal comment on linked issues

Is this possible?: Writing to or reading from linked issues we need to set a new comment in a Service Desk project, but the comment has to be "Internal". At the moment,  new comments are shared with the customer.

We can use post-functions Write field on linked issues or subtasks or Write field on issues returned by JQL Query or Issue List Update issue fields selecting "New comment" or "New comment (sends email notifications)" as target field, for creating comments on linked issues, sub-tasks, or any issue selections by JQL or issue list expression. Comments created by this procedure will not have any visibility restriction, but we can limit the visibility by making our comments end in ": {visibility:=visibility_value}", with visibility_value being a project role name a group name, "jsd_internal" or "jsd_public", as explained at: Add a comment.

Let's say we want to add an internal comment in all tasks of an Epic issue:. In this case we use the post function Update issue fields:


Image Added

Image Added

Text to be parsed is: "This is an internal comment created by the Epic issue.: {visibility=jsd_internal}"Image Removed



Other examples of that functions

Write field on linked issues or sub-tasks

Incoming Links
pageWrite field on linked issues or sub-tasks
labelsexample


Write field on issues returned by JQL Query or Issue List

Incoming Links
pageUpdate issue fields
labelsexample

Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "post-function"