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

Integration with Jira - push bug to a particular project and component


#1

Hi

the global setting works great with the Defect Add URL set to
http://serverurl/secure/CreateIssue!default.jspa

but when I configure it to a particular project in Jira which id=10111 as
http://serverurl/secure/CreateIssue!default.jspa/pid=10111

it still default to my global setting on my other project

Any idea?


#2

Hello Roy,

Thanks for your message. I’m not sure if I fully understand the problem; if you could add a few more details that would be great. TestRail basically does the following when it tries to find the correct defect URLs:

[list=]
[
]Is there an Add Defect URL defined for the current TestRail project? If so, use this URL[/]
[
]If there wasn’t an Add Defect URL defined for the current TestRail project, check if there’s an URL defined under Administration > Site Settings. If so, use this URL[/]
[
]If there’s neither a project nor global URL defined, don’t show the Add link[/*]
[/list]

I hope this helps.

Thanks,
Dennis


#3

Though an old topic I want to comment that it might just have been a bad syntax. In your example above you write

default.jspa/pid=10111

where it should be

default.jspa?pid=10111

See also these links
https://confluence.atlassian.com/display/JIRAKB/Creating+Issues+via+direct+HTML+links
https://jira.atlassian.com/browse/JRA-23590


#4

Thanks for the hint, Paul, that looks better indeed!

Regards,
Tobias