Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task closed mistakenly due to no open subtasks #277

Closed
ltakashvili opened this issue Jun 28, 2024 · 12 comments
Closed

Task closed mistakenly due to no open subtasks #277

ltakashvili opened this issue Jun 28, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@ltakashvili
Copy link

Hello

I run sync and I noticed several Tasks were closed due to no open subtasks. But, subtasks are still open. Task shouldn't be closed
1
2

also those vulnerabilities are still open in tenable.

What am I doing wrong?

@SteveMcGrath
Copy link
Collaborator

Can you re-open those tasks that were incorrectly closed and rerun the integration in debug logging? I'd need to see the whole log. Feel free to email it to smcgrath -at- tenable.com

@ltakashvili
Copy link
Author

Can you re-open those tasks that were incorrectly closed and rerun the integration in debug logging? I'd need to see the whole log. Feel free to email it to smcgrath -at- tenable.com

Done, email sent

@ltakashvili
Copy link
Author

P.S email I sent contained following 2 lines. These were added by me mistakenly. was trying to locate issue in processor.py
image

@SteveMcGrath
Copy link
Collaborator

I'm wondering if the initial cache building isn't pulling these subtasks for some reason...

Think you can run with the following flags?

tenb2jira --no-update --no-cleanup --ignore-last-run --verbose

then send back the log & the mapping database (as it wont be removed with no-cleanup).

@SteveMcGrath
Copy link
Collaborator

Also, before you do that, make sure to re-open those findings that were incorrectly closed.

@ltakashvili
Copy link
Author

I'm wondering if the initial cache building isn't pulling these subtasks for some reason...

Think you can run with the following flags?

tenb2jira --no-update --no-cleanup --ignore-last-run --verbose

then send back the log & the mapping database (as it wont be removed with no-cleanup).

Hello. Apologies for late response
I run command you mentioned above and attached requested files(log and mapping.db)

I already mentioned in the email, but when I run this command, everything went smooth.
Then I run tenb2jira sync config.toml which didn't have any issue
then run same command: tenb2jira sync config.toml and this second execution had problems (closes tasks)

@ltakashvili
Copy link
Author

Hello. any updates?

@SteveMcGrath
Copy link
Collaborator

So if it's working with those flags and not working without, can you run with just 1 flag? --ignore-last-run? If that works as expected, then I think I know what may be happening and how to correct it. Also, it would mean you have a workaround for now. It'll take longer to run (as you aren't using deltas) however correctness is more important than speed.

@ltakashvili
Copy link
Author

ltakashvili commented Jul 3, 2024

So if it's working with those flags and not working without, can you run with just 1 flag? --ignore-last-run? If that works as expected, then I think I know what may be happening and how to correct it. Also, it would mean you have a workaround for now. It'll take longer to run (as you aren't using deltas) however correctness is more important than speed.

Hi

yes it worked very well. speed issue isn't big deal, it's ok for me. thanks a lot

But what was the issue? just wondering. I think it is related to time issue right?

@SteveMcGrath
Copy link
Collaborator

I think i nailed down the bug for this one. if you're willing, could you pull from the github branch (and not the version) to test?

pip install https://github.com/tenable/integration-jira-cloud/archive/main.zip

@SteveMcGrath
Copy link
Collaborator

@ltakashvili or @kmplngj could confirm that this addresses the issue, I'm not seeing it anymore on my end.

@ltakashvili
Copy link
Author

@ltakashvili or @kmplngj could confirm that this addresses the issue, I'm not seeing it anymore on my end.

Hi Steve, tested recently and yes, it seems it's resolved now. thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants