Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Push attachments to JIRA


#34

Just found this blogpost at the atlassian forums…so, it should be possible somehow to upload lets say a screenshot that is already in the testrail comment/attachment are (as you know the filename and path to file).

https://confluence.atlassian.com/jira061/jira-administrators-faq/usage-faq/how-to-attach-an-attachment-in-a-jira-issue-using-rest-api


#35

Hi Cyrus,

Yes, I believe it’s possible to do this with the API but this is not something that’s currently supported by the JIRA integration from TestRail’s side. You can always see the attachments (and all other test result details) in JIRA directly if you use our (free) TestRail for JIRA add-on:

https://blog.gurock.com/?p=3365

Cheers,
Tobias


#36

I think that the requests are not taken seriously, since since 2013 I see that this issue is in question and implementation has not been implemented at present.

It is really uncomfortable to have to later access JIRA to add the attachments, since although the salary of the developers is high, does not justify the fact that you have to enter TestRail to visualize the evidence, you have to be aware that your time is limited and We are doing it to enter different places only to understand a defect.

I was considering TestRail, I even get to generate the payment when I visualize that it is limited in this action, therefore I will proceed to look for one that if it allows, since it does not help me that the attachment is appended in TestRail if it does not have a handler Of defects as such, would be entering different places many times in the day to day.

Unless you provide me with a specific solution to this.

Greetings.


#37

Hi Ariel,

Thank you for the post and feedback. In this case, the integration is not able to push attachments to JIRA when creating defects. You could always submit the URL for an attachment in your defect and have this attachment be either sitting in TestRail or in another location.


#38

This is not integration if you cannot have all needed fields. I was looking to add attachments when creating defects but now I see that this is not possible. This type of integration does not bring any help if you still need to open both tools to add all details to a defect.


#39

Hi there,

Thank you for your post and feedback. When pushing defects to JIRA, the referenced test will show the associated attachments when using the TestRail for JIRA Test Management add-on.

As you can see in the above screenshot, any attachments that were attached to the test, show up when viewing the JIRA defect. This allows you to view any screenshots that may be associated with the test. If there are specific attachments outside of screenshots, these can easily be viewed by clicking on the referenced test ID.


#40

I know that there is a way to attach photo attachments to a test case but I am not referring to that but to the case when you run the test case and you find a bug. In this case you want to add as much relevant information as you can. Video attachments or photo attachments of the scenario of the defect are relevant information and would be nice to be added when creating a defect from TestRail in order not to go to JIRA and add them later.


#41

I feel that they believe us ignorant explaining over and over again that we attach the evidence in TestRail, I think so far we all know how to do it.

It is different that do not want to perform such functionality because they are interested in forcing the user to enter TestRail but are neglecting the effectiveness and usability of your application.

I am really annoyed, since after my comment, they eliminated all my test account, even without winning the test days and lost all the information of the projects, I was waiting for your response to expect such an improvement but still acquire its tool.

However, what they did is very unprofessional on their part and their service, which I totally distrust the safeguard and security of the information of the projects.


#42

Thank you for your posts,

We do receive a large number of feature and enhancement requests on a daily basis. That being said, we do make note of all of these and base the requests we are able to implement on what appears to be the most relevant. That being said, we have not forgotten about this request and I have made additional notes on the request for our development team to see.

Cheers,
Marty Lavender
Customer Success Team


#43

I too am enquiring about pushing attachments from TestRail to JIRA. Am I to understand this is not possible?

I looked through the ‘Add Field’ option in the integration and cannot see anything relating to attachments there either.

Thanks.


#44

"I too am enquiring about pushing attachments from TestRail to JIRA. Am I to understand this is not possible?

I looked through the ‘Add Field’ option in the integration and cannot see anything relating to attachments there either."

Correct - the API does not deal with attachments at this time.


#45

+1 for requesting that this feature is added. I have just now configured Testrail to use the defect push to Jira option.

Without being able to push screenshots/images from Testrail to Jira its pretty much pointless in using the push feature as the user still has to go into Jira to add the images, which defeats the reason for actually using the push feature in the first place, which is to create the defect from Testrail without having to leave it and go into Jira.

So until the image push feature is added, I don’t really see the value in this as we add screenshots/images for a large number of our defect reports.

It’s a bit shocking that this was first requested over 4 years ago, yet still no development. Can we get this prioritised please and an ETA on it?


#46
  • 1 vote for the feature to attach pictures / attachments to JIRA

#47

Could i get a response on this please? thanks


#48

I think its really problamatic that your guys wont allow to sent attachment via testrail

it makes everything really slow and slugish


#49

+1 for pushing attachments to JIRA


#50

Any update on this? thanks


#51

+1 for attachment through JIRA plugin. I really wish with a cherry on top that someone that works there would give a genuine answer as to why this isn’t available. IE: “We don’t want to implement this feature now or ever”. I’d take that much better than silence and a ticket that has been open for 4 years and move on with life. I’ve been a test rail user for much longer than this and I still don’t get it.

PS - Why in the world did I have to make a brand new account for a Gurock discussion group? I’m a paying customer and I can’t even use my normal TestRail login. Just saying…


#52

+1. I really want to ctrl+v my screenshots into Push Defect form with the subsequent adding attachments to the issues in JIRA.


#53

+1
We added our Jira custom fields to TestRail so users can push defects directly from TestRail and don’t have to go back and modify them in Jira. Not being able to push attachments defeats this logic and ultimately impacts productivity.