Creating Linked Issue and having the Description come over

Ashok_Chandrasekaran June 24, 2019

Each time we create a Linked Issue from our Client Experience Team and link a particular issue to our Product Project's the "Description Field" does not carry over in regard to the written text in that field when we create it on the Client Experience side.  Is there way in Jira to fix this and ensure the Description Field written text always comes over from the Client Experience issue when linked over to the Product Project side?  

 

Thank you,

 

Ashok

1 answer

0 votes
Vimalraj June 24, 2019

Hi Ashok,

Do you just link them or create a link though script? there are ways to script through either powerscripts or scriptrunner to copy the description or any field from source. Thanks

Ashok_Chandrasekaran June 24, 2019

We just link them from the More Drop down we choose Create Link and then it goes from a CE ticket to a Project ( goes into the backlog).  What would the powerscript or scriptrunner be in this case to have the description field come over when creating a link?

Vimalraj June 25, 2019

It can be achieved using below code snippet.

string issuekey = arrayGetElement(argv, 0);
string summarytext = arrayGetElement(argv, 1);
string desctext = arrayGetElement(argv, 2);
string k = createIssue("TST", issuekey, "Defect", summarytext, desctext);
linkIssue(issuekey, Defect, "Relates");

Like Lukasz K likes this
Ashok_Chandrasekaran June 25, 2019

We use Jira Server does that effect if we can use scripts through either powerscripts or scriptrunner?   Is powerscripts or scriptrunnner an additional plug in or it's included in Jira server?

 

Where do we insert the Code Snippet, what are the steps in regard to inserting this to test and validate it?

Vimalraj June 26, 2019

@Ashok_Chandrasekaran Powerscripts is a plugin. You have to go to Add-ons -> SIL Manager -> Create file.sil and insert the code snippet. You can test your code by using Power scripts SIL runner gadget. Please refer to 

https://confluence.cprime.io/pages/viewpage.action?pageId=6558163

Ashok_Chandrasekaran July 30, 2019

 

   I had a question on a configuration of a field in Jira that requires multiple selections and then have those selections persist in edit and view mode and have selections stored during edit mode with the ability to add additional selections.  This field will be using an API as well that pulls in the selection choices based on a search ( typing the first letters of the selections). Any help is greatly appreciated.

 

Thanks,

 

- Ashok

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events