Forums

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

All subtasks are closed/re-open for a parent, it will close/re-open the parent as well

masterhoang1
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 29, 2020

Tried to use Scriptlistener but maybe something out of date for JIRA CLOUD, tried to use Script console but not work. 

I'm newbie for this JIRA CLOUD so could you guide me how to make a script correctly for SrciptListener

Or some way I can do for my task? This is effect to all project not for specific project

 

Thank you very much!

1 answer

1 accepted

0 votes
Answer accepted
John Funk
Community Champion
April 29, 2020

Hi @masterhoang1 - Welcome to the Atlassian Community!

You should be able to do that with Automation For Jira which is available for free in Jira Cloud now. 

  1. Go to Project Settings > Project Automation (on left-hand menu)
  2. Press Create Rule in top-right corner
  3. Select the Trigger "Issue Created" and press Save
  4. Next Select to add an Action, and choose "Edit Issue"
  5. Select the field Label
  6. Select the options icon (3-dots) - and choose "Add/remove values"
  7. Enter the value you want as a default and press Save
  8. Name your Automation and turn it on

Now when each issue is created, it will add the desired default label as long as the issue is created in that project. You might need to refresh the page after each issue creation to see it.

You can do this via global rules to apply to all projects also. You'll need to be a Jira Admin/Site Admin, then instead of going to Project Settings, go to Jira Settings (cog icon on left-hand navigation bar) > System > Automation Rules (left-hand menu).

For more on using Automation For Jira see these help pages.

masterhoang1
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 6, 2020

Thanks @John Funk , I'm trying, it maybe works fine

Suggest an answer

Log in or Sign up to answer