Forums

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

Automatically change some field after converting sub task to task

hanna_podoliak June 23, 2020

I want to create a rule that will automatically change field values and will be run after subtask will be converted to task 

3 answers

1 accepted

2 votes
Answer accepted
Bill Sheboy
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 23, 2020

Hi @hanna_podoliak -- Welcome to the Atlassian community!

To save you some experimentation time, I tried this with automation rules and it does not work.  The rules cannot detect an Issue Type change when the source is a Convert To... trigger.  We are submitting a defect to Atlassian for this problem.

Best regards,

Bill

John Funk
Community Champion
June 23, 2020

That's interesting. So it won't work for a Field Value Changed trigger on the Issue Type field? 

Bill Sheboy
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 23, 2020

Nope.  I tried with and without source actions (e.g. Edit) and the rule never fired.  I even tried Move to see if Convert To... was considered a different path, and that didn't help.

__Bill

Tinker Fadoua
Community Champion
June 23, 2020

With scripting a lot can be achieved, Automation is great plugin but have some limitations @John Funk 

John Funk
Community Champion
June 23, 2020

@Bill Sheboy  - well that stinks. Thanks for testing it out!

@Tinker Fadoua  - granted!  But not everyone has scripting skills  ;-)

hanna_podoliak June 24, 2020

@Bill Sheboy  can you send me a link to this bug, please. I want to know when it will be fixed 

Bill Sheboy
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 24, 2020
Tinker Fadoua
Community Champion
June 24, 2020

@John Funk  I totally agree, however they have some useful scripts in their library.

Also I learned that Groovy is not 100% used in ScriptRunner 🤔, not sure what scripting language we should learn

All the best,

Fadoua

0 votes
John Funk
Community Champion
June 23, 2020

Hi Hanna - Welcome to the Atlassian Community!

Automation For Jira should be able to do that and comes for free with Jira Cloud.

A little more information:

There are two types of automation:

  • Global: In the Free version, you get 100 executions per product, per month
  • Project: In all versions, you get unlimited executions per month

Automation Basics: https://www.atlassian.com/software/jira/guides/expand-jira/automation

You can do this via global rules to apply to all projects also. You'll need to be a Jira Admin/Site Admin, go to Jira Settings > System > Automation Rules (left-hand menu).

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

0 votes
Tinker Fadoua
Community Champion
June 23, 2020

@hanna_podoliak 

You will need a plugin in order to be able to add some automation.

Not advertising for any Marketplace Vendor but since you are a cloud user ScriptRunner is your first option.

Best,

Fadoua

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events