Hello there,
I'm trying to use Automation to set the component field when a new issue is created from our crash reporting tool.
Basic workflow:
1. When issue is created
2. If 'Reporter' is a specific user account
3. If issue's description contains "crash report link"
4. Set component "CrashReports"
The problem is that for all our projects the component 'CrashReports' may or may not exist. When it does not I get the following error in the Audit Log:
> Component name 'CrashReports' is not valid (components)
Is there a way around this? Can use Automation to create the component? Somehow can I set the component for all Jira projects (200+ projects... I don't want to click through them all).
Hi Kevin,
I am not aware of anyway that Automation For Jira can actually create components on the fly. You would need to do that for each project.
You might could load those somehow using the API - but I am no expert there. (Or even a novice!).
Hi,
I does work with the API. Here is a related thread:
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great! I hope works well for you! :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Automation for Jira cannot do it, but third party apps like JMWE can (it's an option of the Set Field Value post function)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey David - Didn't realize that - that's awesome and very good to know!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It only works for Components and Versions though, not Options because there was no API for that until recently.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's good enough - those are the ones used the most. But not Labels either?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Labels are not a closed list in Jira so you don't need to create them before adding them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
True! Thanks for the clarification. :-)
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.