Hi,
I would like to create and link a new issue on a transition. So far this works pretty good. Now I want to write a comment to the original ticket with the link to the new created ticket, so that the customer on service desk can directly click on it
Any ideas?
Thanks
Polly
Hmm, i did some research and found the project where i got a solution. the problem for me: the solution was in sil and i need the solution for groovy.
it was like:
string[] LINKED = linkedIssues(key);
addComment(Key, currentUser(), "My Comment" +LINKED(arraySize(LINKED)-1));
how can i translate this snipped to groovy?
Hi @PollyH ,
Hope you are doing great !
We are from the BobSwift support team and would like to inform you that we have created a support request https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-4664 on your behalf in our portal. Please try to access with support request.
Currently, with the help of 'Creation on Transition' app, it is not possible to meet your requirement of creating a new issue and writing a comment to linked issue.
With the help of our other bobswift app "RUN CLI ACTIONS IN JIRA" https://marketplace.atlassian.com/apps/1210941/run-cli-actions-in-jira you will be able to achieve your requirement and please find below detailed steps for the same.
Product: JIRA
ACTION
--action run --server "JIRA_URL" --user "JIRA_USERNAME" --password "JIRA_PASSWORD"
DATA
--action createIssue --type Task --summary "Testing New" --project "TARGET_PROJECT_KEY" --server "JIRA_URL" --user "JIRA_USERNAME" --password "JIRA_PASSWORD"
--action addComment --issue %original_key% --comment "@issue@ has been created as part transition" --server "JIRA_URL" --user "JIRA_USERNAME" --password "JIRA_PASSWORD"
--action linkIssue --issue %original_key% --toIssue "@issue@" --link "causes" --server "JIRA_URL" --user "JIRA_USERNAME" --password "JIRA_PASSWORD"
Please let us know if you have any additional questions, we are happy to help you !
Thanks,
Avinash
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.