Validate comment documentation is up to date.
See original GitHub issueAfter successfully completing basic authentication, I setup a jira object to the production server.
On the jira object, while trying to extract the comment text using the id of that comment, instead of text, command returns the comment id.
Referred to the docs for the usage, it looks to be ok.
Tried this from jirashell.
In [70]: cmnt = jira.comment('SREC-255', '2590283')
In [71]: print cmnt1
Out[71]: <JIRA Comment: id=u'2590283'>
What’s wrong with the usage here ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9
Top Results From Across the Web
How to validate documentation comment tags as part of the ...
We write documentation tags as part of our development process. It would be very useful being able to validate these code tags when...
Read more >040-040 MetaServer Validate – Validate Date and Time
We need to extract and validate the Invoice Date of each document, ... is a full date that consists of a date AND...
Read more >Validate function in Power Apps - Power Platform
In this article The Validate function checks whether the value of a single column or a complete record is valid for a data...
Read more >HOWTO: Validate a Layout Content
Open your layout · Click on Switch to code button at the bottom of the page, · In the validate function, replace: Copy...
Read more >Client-side form validation - Learn web development | MDN
See also the source code. Note: <input type="number"> (and other types, such as range and date ) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hrm232 Same issue but I think I figured it out. When you do your jira.search_issue you have to specify fields to pull with it, in this case your comments fields. Try this:
jql=‘project = TMP AND key = TMP-281 ORDER BY createdDate ASC’ issues = jira.search_issues(jql, 0, 1000, fields=‘comments’) for issue in issues: print(issue.fields.issuetype.name) print(issue.fields.reporter.displayName) print(issue.fields.comment.comments)
No more errors, hope this helps.
@mramanathan I know this is old but for historical sake, the “comment()” method returns a Comment object. If you want the text, you need to get the “body” property: