Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • How can I group components from multiple projects, in a query, to display in a dashboard widget

Jira automation question

Mary Mark
October 12, 2023

Hi Atlassian Community,

Wondering if this is possible.

We have a source project A that contains issue: Stories and would like to move and clone to a selected project a user chooses such as: Project B, C, D

These are agile projects and they share similar templates with more or less the same fields.

We would like to on source Project A create a transition button in the workflow that allows a user to choose the project to move to, for example: Destination Project = B. Once the project is selected, then clone fields from Project A to Project B

The caveat is Project A contain fields that may not exist in other projects.

For example, Project A contains field called: Criteria and Description. Is it possible to concatenate these 2 fields Criteria + Description into the Description field in the destination project: B

Can this be achieved via Jira automation rules? Currently in the automation rule, I can only select 1 target / destination project only. 

I have attempted automation rule but the concatenation piece does not work. 

Please see screenshot attached.

Thanks

MaryClone1.jpg

 

Clone2.jpg

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 19, 2018

Hello,

It means that the Component field does not fit your requirements. You should use a single or multi select custom field. In this case all values will be consistent in different projects.

Deleted user
October 19, 2018

Thank you, I'd stumbled across the global context piece, so created a new custom field with a global context, which has solved my problem.

 

thanks for your help

Deleted user
May 14, 2020

We have >200,000 issues in our Jira Data Center environment with components assigned to them. We similarly set up the components the same for each project, not realizing at the time that we couldn't summarize across projects.

I'd like to use ScriptRunner script console to copy all of the current component values to a new multi-select custom field and then set up a listener to do this going forward until we develop a transition plan for our business. 

I'm having a hard time finding the code examples to be able to copy component into a custom field via the console and then via a listener. 

Can anyone point me to some examples for this?

Thanks!
Laurie

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events