The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to list a project all issue in drop-down box

yundong.li
Contributor
February 17, 2022

I need a drop-down box ,that can list a project all issues.

and when I select a issue with this drop-down box ,the selected issue 's field value can copy to current issue's field. 

 

E.g:

project-A needs a drop-down field, which can list all issues of project-B, and proejct-B issue contains some fields (office, department),

Create a new issue in project-A, which also contains fields (office, department), 

when select issue-B-1 through the drop-down box, and then the field value can be automatically copied.

 

Do someone know how to do it.  This should actually be two questions:

1. the drop-down box how to list a project issues?(the project could be fixed)

2. when select a issue ,how to copy the field values?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Radoslaw Cichocki {Deviniti}
Atlassian Partner
February 18, 2022

Hi @yundong.li ,

  1. You'll need an app to add a new custom field type that would list Jira issues in a drop down. It's called an "issue picker". There are a few solutions available on Atlassian Marketplace.

  2. To copy the values from the selected issue, I'd personally use ScriptRunner. This needs scripting, and you need to make sure the "issue picker" field that you'll choose provides an API to easily access the issue keys. The script can be triggered as a listener on the "issue updated" event, and then extract the issue form the issue picker, get its values and copy and paste the values into the fields where you want them to be.
    Alternatively, you could try doing the same thing with Automation for Jira if it is able to somehow extract data from the issue picker field and drill down into the underlying issues.

Using ScriptRunner requires some scripting abilities, so if you aren't able to do it on your own, you can contact an Atlassian Partner of your choice, and order such service.

Regards,
Radek Cichocki