|
|
|
|
|
by zo1
2185 days ago
|
|
That comment entry that you get back from JIRA should have a unique "ID" attached to it that you can use to do a duplicate check on. According to you, your function signature is send(username, message), in which case this solution will fail if the same user makes the same comment on two different issues. Have a look at their REST API docs for retrieving comments on an Issue: https://docs.atlassian.com/software/jira/docs/api/REST/8.10.... You'll see that they respond with an ID for each comment. That ID is unique and probably the PK of the comment on the JIRA application's DB. That is the the key that you need to use to do a duplicate check. Not username and message content. |
|