Hi,
When I search for tickets containing text "conferento.com" it does not return any results.
When I search for tickets containing text "conferento" the result is returned.
Originally I thought that it was because of the dot.
But the search for "branchen-info.com" DID return results.
I know that I have tickets containing exactly that text in the SUMMARY
What is wrong?
EXAMPLE:
I have 2 tickets, both having full stop in the summary:
1) https://www.conferceento.com/listings/bla-bla-bla
2) yp-http://www.branchichen-info.net/bla-bla-bla.php
We need to include the url into the tickets, this is a webscraping project.
When I search by text:
1) conferceento.com - JIRA provides no resuts
2) branchichen-info.net - JIRA returns the result
Hello,
I am not sure what you want.
If you want to find attachment path then the code would be like this
Issue issueKey = issue def id = issueKey.getId() // Get the current logged in user def user = ComponentAccessor.getJiraAuthenticationContext().getUser().name // Get a manager to handle the copying of attachments def attachmentManager = ComponentAccessor.getAttachmentManager() // Get the default attachment path from its manager def attachmentPathManager = ComponentAccessor.getAttachmentPathManager().attachmentPath.toString() // Get the current date // Construct the key of the next Subtask def currentIssue = issue.toString() // Extract the project key from the issue def projectKey = currentIssue.replaceAll("[^A-Z]", "").toString(); // Get the ID that jira has used to store the last attachment def fileId = issueKey.attachments.last()?.id // Construct the file path of the attachment to copy def path = attachmentPathManager + "/" + projectKey + "/" + currentIssue + "/" + fileId + "/"
It was taken from here
If it does not answer your question, kindly clarify it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Groovy directive, short for "define". It creates (untyped) variables in a script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.