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

automation on create screen

Leanne Stewart October 9, 2019

Hi

Im reasonably new to Jira and I want to create a jira screen that will be used for staff to request access to applications.  I am using a jira service desk project for this.

Ideally what I want is to be able to format the create screen so that the multi select fields show in a horizontal row. 

I want to be able to show and hide options based on users choices. 

Create screen - user would select the basics for the access they need

Requested Apps           Requested Team

Adobe CC                      Adobe (all Apps)

Jira.                                Adobe photoshop

GitHub                            Adobe Acrobat Pro DC

                                       Jira User  

                                       Jira Developer

                                       GitHub Team 1

                                       GitHub Team 2

 

On Clicking "Create" I want to take all selected choices and display them in a table in the description field.
I want to add a checkbox option in column one that will trigger a done symbol when complete.  The checkbox will be used by the staff to confirm the task is complete.

In the last column I want to add a select field that would be related to the choices above to detail the level of access given ( this will be completed by staff when account has been set up and access is given)

 

 Application Access Requested(multi select)Access Requested (multi select)Details to be addded by staff (multi select)Notes (text) 
      
☑️Adobe CC  Adobe (all Apps)Adobe account created  
      
☑️Jirajira Developerjira-users  
   jira-developers  
      
☑️GitHubGitHub Team 1admin  
   user  
   other  
      
  GitHub Team 2Team 2.1  
   Team 2.2  
   Team 2.2  
      

 

1. all fields have to be multi select options

  (I already tried cascading fields. this doesn't work as I can only select one choice in the first row)

2. I need to be able to show / hide fields on the create screen based on selected choices

 (example: if github isn't selected, I don't need to show the 20+ teams they have the option to join)

3. these requests need approval from line manager: I would like managers to be able to give approval by e-mail

 (workflow is already set for this, just need to know how to allow e-mail approval)

4. on approval: I want to automatically notify jira groups based on the selection

team 1 (Jira group 1) - deal with adobe

team 2 (Jira group 2)- deal with jira

team 3 (Jira group 3)- deal with github

 

We have scriptrunner so I was hoping to create this using scriptrunner. 
Is it possible to get some sample script for this,  including any imports for libraries, etc as I am not a programmer so need the basic "how to" details to get this to work.

Also, need to know if this is possible without additional add ons

Thanks

3 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Leanne Stewart October 10, 2019

1. Is there an option for a multi-select cascading field?

2. Can cascading fields have multi-select options in both sections? I can only seem to choose 1 option from both sections
3. Or is there a way to save details that are input into the cascading field, then repeatedly show the same cascading field till all choices are made?

4. Would I need to do separate cascading fields for each option? 

Ideally need both sections to be multi-select.  What is the best way to do this?

 

section 1                        section2

Adobe CC                      Adobe (all Apps)

                                      Adobe photoshop

                                      Adobe Acrobat Pro DC

 

Jira.                               Jira User  

                                      Jira Developer

 

GitHub                           GitHub Team 1

                                       GitHub Team 2

 

Also, for checkbox fields.  How do you add the "Select All" option to auto-check all boxes?

                                     

Mathis Hellensberg
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.
October 11, 2019

Out of the box, no to everything. Jira only has one option for select cascading list with a parent and a single child. I am currently in need of this functionality myself, which i think can be done using scriptrunner, but I havn't had time to look at it yet. Otherwise you'll have to find an addon :(

Lowell Liwat
Contributor
January 29, 2020

I wish some steps could be automated.

1 vote
Tanya Gordon
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.
October 10, 2019

Hi,

You may be able to create some or most of the functionality using script runner behavior module, but it's going to be painful.

I would recommend checking out the dynamic fields app by deviniti. It helps you easily create and manage dynamic fields (exactly as you described). 

Good luck!

Tanya

Leanne Stewart October 10, 2019

thanks, ill take a look

0 votes
Mathis Hellensberg
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.
October 10, 2019

I don't see an easy way of doing this. Jira doesn't support dynamic fields out off the box so you will need an addon for this. As for the choices, I would create them as subtasks.

As Tanya said this should be possible using Scriptrunner, but it will be complex and painful to maintain. 

I suggest you reevaluate what needs to happen and try to see how you can solve that using only Jira. For the remaining functionality you should browse for addons.

Remember to keep it simple!

Leanne Stewart October 10, 2019

Thanks, currently have version one of this idea using subtasks but that has become messy for users. Too many tickets for what is essentially one task. Ill look into the add on.  Thanks

TAGS
AUG Leaders

Atlassian Community Events