pawelrychlik / jira-dependency-graph

Graph visualizer for JIRA tickets' dependencies
MIT License
281 stars 85 forks source link

Exclude link not excluding "relates to" #24

Closed cah-brandon-trebbien closed 4 years ago

cah-brandon-trebbien commented 6 years ago

jira-dependency-graph.py: --exclude-link 'relates to' --exclude-link 'SAFe Parent of' --exclude-link 'SAFe Child of' --ignore-epic --show-directions outward --ignore-subtasks --dont-traverse --local $ISSUE > $ISSUE.dot

'SAFe Parent of' and 'SAFe Child of' work 'relates to' does not

image

thomas0306 commented 5 years ago

Hi,

I observed some of the link type in jira will actually return with a tab appended, i.e. "is required by\t".

I think by invoking strip() the link type in the exclude logic will resolve the issue. I will create a PR right ahead.

pawelrychlik commented 4 years ago

Uh, I could not reproduce, TBH. I did check the "relates to" link type, all fine. strip() doesn't seem to break anything, so I decided to merge. Thanks @thomas0306