I created a filter in Jira, which displays a list of issues. I am in process of writing a programm in Python, which could send me new issues from this filter. I suppose that I need something like Jira listener in order to get this issue in real time, but I'm not sure how. I'll be thankful for any advice or documentation. Any other variants are fine too.
Asked
Active
Viewed 461 times
1 Answers
1
I don't know a push mechanism for this. JIRA has a fairly comprehensive REST API that you can wrap easily with Python (as has already been done here which may be all you need). You will need to poll in a loop though.
- Get the Filter (note you must know the filter's id as you cannot search for a Filter by its name!!) (*)
- Call back to invoke the JQL it contains
- Process processing jira issue results.
(*) My ugly workaround for this was to have a "magic" issue whose body had a few control commands (poll-frequency etc) and manually linked to the Filters to watch. I then searched for issues with a certain tag and parsed out the links

drekbour
- 2,895
- 18
- 28
-
I think I get the general idea on how to create a server, but I don't know how to make Jira send data. – LenushK Nov 02 '19 at 16:31