You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
The JIRA webhook finally worked with 1.6.. for some reason the trailing "/" from the "https:///webhook/" URL in the JIRA config of our server was missing.
Anyways, as its working - the next issue I see is with duplicates updating JIRA webhook readings.
Add a new product with "Push Notes" enabled.
Use case 1: DefectDojo creates a finding to JIRA ---> Developer update comment in JIRA --> DefectDojo finding get the comments back in the Notes.. (good, works fine)
Use case 2: DefectDojo replies (notes get added) and ---> JIRA receives comments (Great) ----> But wait, as the JIRA got updated, so the comment comes back and updates it again in DefectDojo..
Hi @dayal18 I am trying to set the wehook too , can you let me know if there is some sort of jira version dependency to this, I am running dojo over http and my webhook didnt work at all
Are you able to create JIRA tickets from DDJ to JIRA?
Is your JIRA server able to reach DDJ? Are these on a same network?
Did you follow the Webhook process referenced in the DDJ documentation? and created a webhook in JIRA? don't forget the trailing "/".
Your JIRA team would be able to say is they can communicate with DDJ or not, as they will see status code once the webhook is created.
If, status is 200, Check with your JIRA team on what conditions does the JIRA Webhook is filtered with, and also what permissions (comment, status change) -- Check DDJ docs.
I don't think running dojo over http would be an issue, if your JIRA is able to talk that's fine. And also there isn't any JIRA dependency I have come across. I guess if you check the steps 1-5 you should be able to figure out the problem.
Are you able to create JIRA tickets from DDJ to JIRA?
Yes , that is working fine
Is your JIRA server able to reach DDJ? Are these on a same network?
Need to verify , they are not on same network
Did you follow the Webhook process referenced in the DDJ documentation? and created a webhook in JIRA? don't forget the trailing "/".
Yes
Your JIRA team would be able to say is they can communicate with DDJ or not, as they will see status code once the webhook is created.
Is this in console logs? cause via the Jira UI , there was no error
If, status is 200, Check with your JIRA team on what conditions does the JIRA Webhook is filtered with, and also what permissions (comment, status change) -- Check DDJ docs.
Can you provide more details for this , I have below configuration
There's a Jira Config model that has that information. It is generally attached to a product, or can be queried directly if you have one of the fields in the config. Here is an example of such.
Activity
zorianix commentedon Jun 10, 2020
Hi @dayal18 I am trying to set the wehook too , can you let me know if there is some sort of jira version dependency to this, I am running dojo over http and my webhook didnt work at all
dayal18 commentedon Jun 10, 2020
@zorianix
I don't think running dojo over http would be an issue, if your JIRA is able to talk that's fine. And also there isn't any JIRA dependency I have come across. I guess if you check the steps 1-5 you should be able to figure out the problem.
zorianix commentedon Jun 10, 2020
Hi @dayal18
Are you able to create JIRA tickets from DDJ to JIRA?
Yes , that is working fine
Is your JIRA server able to reach DDJ? Are these on a same network?
Need to verify , they are not on same network
Did you follow the Webhook process referenced in the DDJ documentation? and created a webhook in JIRA? don't forget the trailing "/".
Yes
Your JIRA team would be able to say is they can communicate with DDJ or not, as they will see status code once the webhook is created.
Is this in console logs? cause via the Jira UI , there was no error
If, status is 200, Check with your JIRA team on what conditions does the JIRA Webhook is filtered with, and also what permissions (comment, status change) -- Check DDJ docs.

Can you provide more details for this , I have below configuration
zorianix commentedon Jun 10, 2020
Oh yes , I have disable this for time being by purpose
dayal18 commentedon Aug 12, 2020
This issue still exist in 1.7.1
dayal18 commentedon Aug 12, 2020
I added notes to a finding in DefectDojo.. the notes add a comment in JIRA ticket, but also the comment comes back from JIRA back to DefectDojo
dayal18 commentedon Aug 17, 2020
Hi guys, I'm close to fixing this, just want to understand how can I get the username value from the JIRA config:
get_system_setting. ???
@cody-m-tibco @Maffooch @mtesauro
Maffooch commentedon Aug 17, 2020
There's a Jira Config model that has that information. It is generally attached to a product, or can be queried directly if you have one of the fields in the config. Here is an example of such.
dayal18 commentedon Aug 17, 2020
Thanks @Maffooch that worked.. working on PR now.. Thanks again !!
DefectDojo#2475 and enhancement - JIRA webhook notification
dayal18 commentedon Aug 17, 2020
#2786 - Fixed
#2475 and enhancement - JIRA webhook notification (#2786)
DefectDojo#2475 and enhancement - JIRA webhook notification (DefectDo…