Field references in JSM for Automation

Oscar D. Sanchez January 18, 2022

How can I use these "field references" to get portal values in JSM, such as groups, request types, etc.

https://confluence.atlassian.com/adminjiraserver071/advanced-searching-fields-reference-935895327.html

For example, I'm trying to auto-complete the summary field, but I'd like to insert values ​​like {{group.name}}, {{request.type}} from the request type...

Is there any way to get these values?


image.png

2 answers

1 accepted

1 vote
Answer accepted
Oscar D. Sanchez January 25, 2022

I made it work with this:

{{issue.customer request type.requestType.name}}

{{issue.customer request type.requestType.groupIds}}

1 vote
Édpo César
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.
January 18, 2022

Hi, @Oscar D. Sanchez 

As I understand it, you need to get the field values from Jira. An important question, what type of field to get the value?

Normally in JQL filter, you just need to call the field name and its value.
Example: If the field name is "Sector" and you need to get the field value, just create the following filter.

project = "Your project name" and Sector = "Field value".

If my answer was helpful, mark it as correct. Thanks.

Édpo César
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.
January 18, 2022

@Oscar D. Sanchez , sorry, I saw the name "Automation" just now.

Can you give us an example of the automation you need?


Like Oscar D. Sanchez likes this
Oscar D. Sanchez January 18, 2022

I just edited my question to be more clear, I appreciate your help :)

Édpo César
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.
January 18, 2022

The smart value you put into the automation will pull the values from the current request type.

Example of automation steps:
1. When automation is created
2. Modify the summary with the smart values

By following these steps you don't get the desired result?

Oscar D. Sanchez January 18, 2022

That is correct,

But my question is, is there a way to get smart values of the group to which the request belongs? and what values can I get from the request? because the documentation is related to "issues" and they are a little bit different.

i dont want to get values from issues.

Suggest an answer

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

Atlassian Community Events