We have Component as a mandatory field for all Jira projects but we'd like to have all Epics have the same default component when they are created?
Alternatively, we could also remove the 'required' attribute from the Component field for Epics for all projects, leaving it mandatory for other issue types. But everything I've read so far seems to indicate this is difficult and/or not possible.
Thanks!
Hi @Matthew Simone,
Welcome to Atlassian Community.
You could use an Automation rule to do this. We use it to set the component and label field on issues associated with an Epic.
Atlassian just started rolling out Automation rules so you should be able to see it under either Project settings or Jira settings.
See this thread for more information: https://community.atlassian.com/t5/Jira-Software-questions/Automation-for-Jira-Cloud/qaq-p/1281555#M67951
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have not been able to do this when the field is a required field. Since the automation is triggered at creation and not when you hit the create button. So when you save the issue without it having the required field filled it will do that check first before creating the issue. Hence it isn't possible to have an automation rule fill it for you.
1. Automation rule upon Create Issue
2. Edit Issue field (Component set to what ever component you want to autofill).
3. Create an actual issue (Components field is not auto filled yet)
4. Fill all required fields except Components
5. Hit Create button in Create Issue screen
6. Error because the required field is not filled
The automation should autofill when you hit the create button that opens the create issue screen but that is not possible with automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you will need to use a plugin similar to scriptrunner to achieve this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.