Forums

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

Using Automation to Copy a Request Type into a Custom Field in a Business Project

Kathleen Hamilton
Contributor
December 22, 2025

I have a JSM Intake form that has several different types of Request Types. When the ticket has been approved we use automation to create a JIRA Business Space Ticket. I want to be able to copy the Request Type into a Custom Field in the Business Space Ticket. Example of our different Marketing Requests:

Video Request

Meeting Presentation

I want to copy the above into the Category custom field of my Business Project.

 

3 answers

1 accepted

4 votes
Answer accepted
Deivid Araujo
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 Champions.
December 22, 2025

Hi Kathleen!

To be very straightforward, you would need to do something like this:

reqtype.png

This can change based on the specifics of your automation. Please let me know if you need anything else and feel free to share your automation here.

 

Kathleen Hamilton
Contributor
December 22, 2025

Thanks Deivid but in the new work space I want the Request Type in a Custom Field not in the description.

Deivid Araujo
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 Champions.
December 22, 2025

It's the same exact process, but you would select the field you want to edit in the "Select fields to set" 

The description field was only an example.

Like Susan Waldrip likes this
3 votes
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 Champions.
December 22, 2025

Hi @Kathleen Hamilton 

What have you tried thus far to solve this?

If you have a rule which is not working as expected, some context may help the community to offer better suggestions.  Please post the following:

  • an image of the complete rule in a single image for continuity
  • an image of the action where you are trying to set the custom field value
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected, and why you believe that to be the case

 

Thanks, and kind regards,
Bill

Kathleen Hamilton
Contributor
December 22, 2025

Hi Bill - I have not tried anything yet as I do not know how to handle this part. For some reason I am not able to embed images here so try my best at explaining the rule.

 

1. Create a work item and identified the new Space and Issue Type.

2. I am copying the Summary and attachment from the JSM Ticket.

3. I need to copy the Request Type that was initially created into a Custom Field into the new Space.

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 Champions.
December 22, 2025

Thanks, @Kathleen Hamilton 

What is the type of your custom field in the destination space: text, select option, etc.?

If it is text, you could use this to set the value:

{{triggerIssue.Request Type}}

Or, use the custom field ID, which you may find using this how-to article.  An example with a made-up ID is this:

{{triggerIssue.customfield_12345}}

 

However, if your custom field in the destination space is select option, you will need to use a JSON expression to set the value.  To do that, in the Create Work Item action, do not select the field from the drop down list.  Instead, select "More options", and enter this JSON expression:

{
"fields": {
"Your destination custom field": {
"value": "{{triggerIssue.Request Type}}"
}
}
}

You may also need to use the destination field's custom field ID rather than the name.

 

Like Susan Waldrip likes this
0 votes
Mikael Sandberg
Community Champion
December 22, 2025

This should be fairly straight forward, all you need it use the smart value for the request type when you set the custom field on the business space ticket. The smart value is either {{issue.Request Type}} or {{issue.Customer Request Type}} dependent on when you first started using JSM.

Kathleen Hamilton
Contributor
December 22, 2025

Mikael I have the Request Type from the JSM but what is the trigger to copy that into the new work space custom field?

Like Susan Waldrip likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events