Forums

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

Prepopulating field entries for a Jira issue

Thomas Hardin
Contributor
June 11, 2018

I am working on a project where Jira will replace a custom solution and within that solution, fields are populated based on selections of other fields. What occurs is that when one field (Drop down single select) is chosen, another field is populated with results, however; those result can be modified within the request. 

I've added a screenshot below to provide a better description (information has been altered to protect the innocent). Basically, what happens is a user will choose an affiliation. That selection will use the fields in the Available Access Points field to populated the Select Access Points field. However, if the user chooses, they can select specific options in either field to add or remove the access points.

So, I have one field that determines what the initial selection of access points will be populated in the Selected Access Points field, but we provide the option to customize the choices before the user officially submits the request.

Affilitation Request.png

If anyone has a suggestion or knows of an add-on that may serve my needs, please let me know. I cannot seem to find anything to support this need.

2 answers

1 vote
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 Leaders.
June 11, 2018

Hello,

If you need just two level hierarchy, then you can use the cascading select list. It is a built-in custom field type. You will not have to pay for this solution.

https://blog.servicerocket.com/adoption/blog/2014/04/jira-tips-cascading-select-fields

Thomas Hardin
Contributor
June 13, 2018

I'm not sure if this will help with the ability to populate the fields also. The trick on this one is that when 1 option is selected in the Affiliation field, the Selected Access Points options are pre-populated with the remainder of the available options still being present in the Available Access Options field. Now, we already have licenses for ScriptRunner and I am trying some options out with the Dynamic Forms add-on, however; it seems that I am not making very much progress.

I've read the article you provided and was wondering if you had some specific examples that you could share? I'm thinking I would probably use on single select field to populate one multi-select field to start with. I don't think I am going to be able to use the fields in the same manner as they are today  (moving options from filed to field like in the screenshot).

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 Leaders.
June 13, 2018

You can use behaviours and select a value in a single select depending on another field. You can find more info here:

https://community.atlassian.com/t5/Jira-questions/Conditionally-set-field-value-based-on-other-field-value-on/qaq-p/460864

0 votes
Danyal Iqbal
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 Leaders.
June 11, 2018

have a look at the behaviours plugin from script runner...https://scriptrunner.adaptavist.com/4.3.1/jira/behaviours-overview.html

Thomas Hardin
Contributor
June 13, 2018

Do you have specific examples you can share?

Suggest an answer

Log in or Sign up to answer