Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use automation to check for a component name in a summary and add it into the component field

I am trying to set up an automation that recognizes a component name in the summary of a case and then adds that data into the component field of that case.

I can get the first bit done as follows.

{{issue.summary}}

contains

{{issue.component}} 

 

The next stage is to edit the issue component field. But how do I carry through the data from the previous step? Is it even possible or has anyone got another suggestion as to how to do this?

 

1 answer

0 votes
Guilhem Dupuy Community Leader Nov 26, 2020

Hello,

I would suggest using a JQL condition in your automation rule of the following type :

NameOfYourTextField ~ "Name of your component" (The text field of your issue contains your component)

If the condition is validated, you can then set the component to the concerned issue.

 

Let me know if it helped,

Guilhem

Thanks for this.  I assume I will need to set up a rule per component then?

This works on a single component name

Summary ~ "Component Name"

Edit issue  Component  then choose the appropriate component.

Is that what you meant?

claire

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

163 views 0 4
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