JIRA upload attachment issue

Hello All,

I have integrated a JIRA instance with SecOps SOAR. However, when uploading an attachment to a JIRA ticket through SecOps SOAR, I’m unable to upload the file. What should the file path be?

Thank you!

0 18 513
18 REPLIES 18

Hey @Nagarjuna11 ,

Where is the file stored? Is it added as case wall attachment?

yes i have uploaded to casewall. file name is Book1.xlsx what should be the file path is it  /tmp/Book1.xlsx

When the file is uploaded to case wall, it's not accessible via file system, but you can download and save it on the file system using "FileUtilities" Power Up.

Your steps in the playbook will looks like this:

ylandovskyy_0-1747822410370.png

ylandovskyy_1-1747822432127.png

ylandovskyy_2-1747822461264.png

ylandovskyy_3-1747822484735.pngylandovskyy_4-1747822518626.png

 

 

I followed the same steps, but the attachment was not uploaded successfully. Do I need to move the Jira ticket to 'In Progress' before uploading the attachment?

Nagarjuna11_0-1747849529305.png

 

@Nagarjuna11 Can you share the configuration for "Upload Attachment"? Thanks

please find the screenshot

Nagarjuna11_1-1747897935630.png

 

@Nagarjuna11 Okay, the next thing I would ask is to try to run the action from IDE, because it will show the logs.

yes i checked in IDE i could see this message
exceptions.JiraManagerError: File /opt/siemplify/siemplify_server/Scripting/downloads/Book1.xlsx doesn't exist or not accessible due to restricted permissions

Can you try to add an image and see, if it will return the same error? Maybe, .xlsx format is the root cause of the problem.

in some cases i can able to upload excel, word, png types. but again in some cases excel files i was'nt able to upload successfully.

attaching the screenshot for your reference
Nagarjuna11_0-1747996385550.png

 

@Nagarjuna11 ,

Can you run the action "Get Files as Base64" from FileUtilities Powerup on the same files? I would like to see, if that action will pick them up.

the three files it picked up but only two files were uploaded

Nagarjuna11_0-1748000961965.png

 

@Nagarjuna11 I tried to reproduce the same identical situation, but for me it's still working as expected.

ylandovskyy_0-1748004742266.png

I will take it internally, but another thing that can be explored is installing the remote agent and running the integration from it. When integration is running from remote agent, then the platform will use the file system of the remote agent itself, instead of working with python pods, which should work better.

We are also working on updating the file management handling across Marketplace content, but currently can't provide more details or ETA.

@ylandovskyy Thanks for your response
I have some question son the approach:
 Can you share more details on how the remote agent file system will work in Jira action?
Will it be file system of the machine where remote agent is installed?
How to configure jira action to pick the file from the file system?

The configuration of the actions will be the same, but instead of saving it on the file system of SecOps python pod, action will save it on the remote agent. And yes, it will be on the machine of the remote agent.

Thanks for the insight.
This is interesting. I have Tanium integrated with remote agent, so when i run 'Download File action' do i have to provide Remote agent file system path for download path?
And how we can attach this file from remote agent to casewall?

This will be interesting to know

Thanks again 


@Nagarjuna11  When you will provide any path inside the action, it will install it on the remote agent file system. You can take the file and push it to the Case Wall using "Add Attachment" action under FileUtilities Powerup. 

But before adding it to case wall, you will need to convert the file into Base64 format.