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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,456,443
Community Members
 
Community Events
176
Community Groups

assign component when new issue has been created

Is it possible to create an automation to autofill the component field when a new story has been created in a particular board?

We have a project with multiple teams and identify the teams with a component. The components are are connected to the board filter and as such work efficiently. 

Only thing which does not work user friendly is the following:
When a new story has been created and the component field is not filled it wont be showing in the board. I tried looking at the project automations but could not find a way to automate this as I cant find a condition to match create from board. 


1 answer

0 votes
John Funk Community Leader Nov 02, 2020

Hi @Floor Verschure  - Welcome to the Atlassian Community!

Yes, you can easily add a Component to and issue when it is created, using an Automation For Jira rule. Do you need help with that? 

Or do you have a different more specific question/scenario? 

Yes, As mentioned I would like to have the trigger created based on the board which is used to create the story as the boards are utilizing these components to identify the teams. 
Is this possible?

So
- if issue is created from board X assign component X
- if issue is created from board Y assign component Y

John Funk Community Leader Nov 02, 2020

Well, triggers are not really based on Boards. Boards are based on Filters and the Filters are some how tied back to projects they are associated with. 

All of that to say that issues are always created against Projects and Components are associated with Projects. So your rule will look something like:

Rule details identify the project or projects to be fired by the rule.

Create issue trigger - which will fire for the project(s) in the Rule Details.

Condition - this is probably where you want to use the filter from one of the boards to identify the exact issue

Edit issue action - select the Components field and the value based on the Condition in the previous step. 

You can use an If/then Condition to include both board filters in the same Rule. 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events