public class RedpenService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADD_COMMENT |
static String |
UPLOAD_ATTACHMENT |
Modifier and Type | Method and Description |
---|---|
boolean |
addAttachment(String issueKey,
String jwtToken,
File file,
String fileName)
Upload Attachment on Jira Issue
|
void |
addComment(String issueKey,
String jwtToken,
String comment,
List<String> uploadedFileNames)
Add Comment on Jira issue
|
static RedpenService |
getRedpenInstance()
Singleton object of RedpenService class
|
public static final String UPLOAD_ATTACHMENT
public static final String ADD_COMMENT
public static RedpenService getRedpenInstance()
public boolean addAttachment(String issueKey, String jwtToken, File file, String fileName)
issueKey
- : Jira issue key [TEST-1, TP-2]jwtToken
- : JWT Tokenfile
- : File to upload on Jira issueCopyright © 2016–2022. All rights reserved.