Skip to content

Commit

Permalink
fixing flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gkowalc committed Jan 31, 2024
1 parent 7c95fd6 commit bab4806
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/jira/jira_scrap_regex_from_issue.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from atlassian import Jira

## This feature can be useful if you need to scrap some data from issue description or comments.
# This feature can be useful if you need to scrap some data from issue description or comments.
jira = Jira(url="http://localhost:8080", username="admin", password="admin")
regex = r"((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\[?\.\]?){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" # regex for ipv4 address + ipv4 with [.] instead of dot
issue = "TEST-1" # id of the jira issue
result = jira.scrap_regex_from_issue(
issue, regex
) ## scrap_regex_from_issue will return results of positive regexes matches from issue description and issue comments.
result = jira.scrap_regex_from_issue(issue, regex)
# scrap_regex_from_issue will return results of positive regexes matches from issue description and issue comments.

0 comments on commit bab4806

Please sign in to comment.