Add Comment
UiPath.Jira.Activities.AddComment
The Add Comment activity uses the Jira API to add a comment (Comment Text) to a specific Issue (Issue Key).
The activity outputs a comment object (Comment) that can be used as an input variable in subsequent activities (e.g., Comment in Delete Comment).
How it works
The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.
- Complete the Setup steps.
- Add the Jira Scope activity to your project.
- Add the Add Comment activity inside the Jira Scope activity.
- Create and enter a
Stringand aIssue Keyvariable for the Input properties. - Create and enter a
Stringand aComment Textvariable for the Input properties. - Create and enter a
Commentand aCommentvariable for the Output properties.
Properties
Common
- Continue On Error - This field only supports boolean values (True, False). The default value in this field is False. As a result, if this field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
- DisplayName - The display name of the activity. This field supports only strings or
Stringvariables.
Input
- Comment Text - The comment text you wish to add to an Issue. This field supports only strings or
Stringvariables. - Issue Key - The Issue Key of the Issue. This field supports only strings or
Stringvariables.
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Options
- Mentions - The mentions you want to include with your comment. Enter a
String[]or aString[]variable. This is a string array that contains the email addresses of the users we want to tag, e.g.new string(){"john.doe@domain.com","jane.doe@domain.com"}
Output
- Comment - A Comment object. This field supports only
Commentvariables. The variable you create for this property can be used as an input variable in subsequent activities (e.g., Delete Comment).