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,364,103
Community Members
 
Community Events
168
Community Groups

Setting Default Value for Insight Custom Field depending on Request Type

Edited

Hi there,

I have a field called 'Responsible Team'.  This is an insight object as for some particular software requests it is populated via an automation.

There is a request though that for particular request types the field is automatically populated.

For 10 different request types there is a different default value for the Responsible Team.

I was thinking of having an insight object for Request Type which would also have the responsible team against them and then with automation match the request type with the objecttype in Insight and pull in the Team name.  My concern though that if new request types are added or a name changed there always has to be a match in Insight and if Insight isn't updated or incorrect then the automation will fail.

Is there a suggested workflow for this.  I know you can't set the default value for a field on a request type in cloud like you could in Server.

 

Or additionally if I do need to do a number of Edit Issue steps in Automation to update the Insight Custom Field on the issue, what IQL do I use to do that as there is no value being selected to trigger a lookup.  So I would it would be...  if Request Type = "ABC" edit issue "Team Responsible"  <what do I need here to tell it the team name>

I tried this;

{
"fields": {

"customfield_10206": [
{
"Name": "Mobile Dev"
}
]
}
}

Thanks

2 answers

0 votes

@Steven Lees-Smith -

If your Insight field has already been setup as an Jira/JSM custom field, then you should be able to use Automation for Jira -

Take a look at this link on how to access Insight object via smartvalues - https://support.atlassian.com/cloud-automation/docs/jira-smart-values-insight/

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

0 votes
edwin vasquez Community Leader Aug 08, 2022

Hello @Steven Lees-Smith ,

Regarding you first part of the question, I wonder if you could set it up to alert you if the value doesn't match any of existing insights or request types. 

If you are going to update multiple issues, maybe bulk edit is an easier option.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS

Atlassian Community Events