Forums

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

Automation: Clone a request and set requesttype to current issue

Mai-Katharina Ngo
Contributor
July 11, 2025

Hello

I want to create an automation if you comment on a closed issue the closed one will be cloned with all the information including the request type.

 

I tried to set the request type but it says I dont have permissions. In the project settings the actor is an admin.

Screenshot 2025-07-11 140204.pngScreenshot 2025-07-11 140009.png

2 answers

0 votes
John Funk
Community Champion
July 11, 2025

Hi Mai,

Is there a reason you aren't just letting Automation for Jira be the Rule Actor? 

Mai-Katharina Ngo
Contributor
July 13, 2025

Hello @John Funk 

I have never tried it. What is the Jira Automation Rule Actor? 

We usually have Bots Accounts with user rights

0 votes
Marc - Devoteam
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.
July 11, 2025

Hi @Mai-Katharina Ngo 

Does the admin have a JSM license and is the "Admin" granted the role Service Desk Team?

Mai-Katharina Ngo
Contributor
July 11, 2025

Hello, yes! 

I also tested my Account but it also didnt work.

Like John Funk likes this
Marc - Devoteam
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.
July 11, 2025

Hi @Mai-Katharina Ngo 

My bad on cloning the request type can't be cloned.

In the branch in the rule, do an edit action to set the request type.

Like John Funk likes this
Mai-Katharina Ngo
Contributor
July 11, 2025

Hello @Marc - Devoteam 

It seems like it does not work either sadly:
Screenshot 2025-07-11 155417.png

There is also the option of "Creating a Service Request" but it is not possible to copy the request type of the trigger request..

Like John Funk likes this
Marc - Devoteam
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.
July 11, 2025

Hi @Mai-Katharina Ngo 

Did you add the edit action in the branch so after, the action Comment on Issue?

If you still get this notice, then the user who is the actor of the rule doesn't have the right access on the JSM project.

See also this KB article, ignore the different projects mention in the rule

Like John Funk likes this
Mai-Katharina Ngo
Contributor
July 11, 2025

@Marc - Devoteam 

This article is for Cloud

sadly we dont have that kind of "edit request type" in our automation system

 

But thank you for your help anyways!

Like John Funk likes this
Marc - Devoteam
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.
July 11, 2025

Hi @Mai-Katharina Ngo 

This should also work in DC, but that's different, then you can only do this based on the advanced option in the edit action.

You need to set this using JSON.

There is a KB article on this as well.

Like John Funk likes this
Mai-Katharina Ngo
Contributor
July 13, 2025

Hello @Marc - Devoteam 

Isn't the request type fix in this solution? In this example it would always be "Test Block" or does it change depending on the reqeust type you initiate?

Marc - Devoteam
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.
July 14, 2025

Hi @Mai-Katharina Ngo 

Yes, this is fixed.

This doesn't change on on the initial request type, then you will need to use IF/ELSE conditions and set the edit action per condition and define the JSON.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events