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,301,216
Community Members
 
Community Events
165
Community Groups

Running Automation based on Request Type

Robert Wen Community Leader May 09, 2022

OK, this must be Monday.  I am completely stumped.

I want to use a JSM project to create Epics in Jira Software projects as a demo.

I've set up a Request type and Automation 

Screen Shot 2022-05-09 at 9.53.06 AM.png

But the result stops at the Advanced Condition.

Screen Shot 2022-05-09 at 8.58.24 AM.png

2 answers

2 accepted

2 votes
Answer accepted

@Robert Wen -

I would recommend that you use equal instead of "contains".

  • {{issue.Request Type.requestType.name}} - Returns the customer request type.

  • {{issue.Request Type.currentStatus.status}} - Returns the status of the current request.

  • {{issue.Customer Request Type}} - Returns the customer request type for older Jira instances.

Or just check for Request Type using "Issue Fields Condition" instead of "Advanced compare condition".

Hope this helps.  Happy Monday.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Perhaps he wants his condition to validates against all the request types that contains Mobile ?

Robert Wen Community Leader May 10, 2022

Thanks, @Joseph Chung Yin !  I went with the "Issue Fields Condition" and selected the Request Type.

1 vote
Answer accepted

{{issue.Request Type}} gives you what you want

By looking again at your screenshot I think the issue is that you added double quotes to the value in the comparison.

 

Check mine :

Screen Shot 2022-05-09 at 1.21.00 PM.png

Robert Wen Community Leader May 10, 2022

Cool!  Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

295 views 15 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you