Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,134
Community Members
 
Community Events
168
Community Groups

Copy Actions within same Automation Rule

I have created a Automation Rule, which gets triggered when a specific type of Issue is created.

The rule needs to create more than 10 Sub-tasks for the triggering issue

the fields being set for these 10 sub-tasks are same except name and I have to do these values set repeatedly (fields like assignee, reporter, priority etc.)

Is there a way I can copy the 1st action I created 10 times and just change the name ?

 

5 answers

Hey,

It will be very helpful to have an opportunity to copy the tasks inside the rule.

It is a lot of work to create almost the same tasks with subtasks every time.

For example, I have a task to deploy a feature and 5 sub-tasks. Now I need 4 different features with almost the same subtasks. It is time consuming.

 

Thanks,

Natalia

I would love this feature. I am creating a bunch of issues via action which more or less similary and it would be great if I can copy these actions. :(

On Apr 09, 2018 Mark wrote:

"since they're usually pretty quick to create and once you do and it's a do once and your done kinda thing."

I do agree with "your done kinda thing", but not with pretty quick to create.

I have to create a lot of tickets in a Epic that are similar and set 10 custom fields each. Most of the custom field values are the same, with only 2 differing. If I could have copied the component that would have saved a ton of time.

I believe this ticket is related: JIRAAUTOSERVER-261 Ability to copy components when creating/updating a rule

 Please vote for that, I'm surprised that at this moment there are only 3 votes.

Hey there Arun,

There's no real way to copy components of a rule since they're usually pretty quick to create and once you do and it's a do once and your done kinda thing.

If you really need to you could use the "Advanced fields" section which uses Jira's JSON format directly. That would be easier to copy and paste between the components. https://docs.codebarrel.io/automation/smart-fields/advanced-fields.html

Cheers,

Mark C

Thank you Mark.

I could and have tried the Advanced field but faced a challenge in setting and using Multi-Value field like Labels

I used below to set labels from the Parent issue, but if the parent has multiple labels, it errors out. for e.g. Label1,Label2. somehow it doesn't like the Comma

"labels": [ "{{issue.fields.labels}}" ],

But when I used the fields, it copies the whole Labels value to the child Issue

Any clue or suggestions ?

 

Regards

Arun

For what it's worth, they are definitely not that quick to create, especially if you're creating dozens across multiple rules.

Like Bresdin O_Malley likes this

I would love this too.  Just created 8 separate Rules just so I didn't have to copy paste the actions.  

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events