Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Creating Linked Issue and having the Description come over

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

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

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?

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");

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?

@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

 

   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
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across Jira Cloud instance.   📢 Get y...

144 views 7 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you