Hello,
I don't have any automation experience, but I am trying to add a jira automation rule to look at an email summary and pull specific information like Component, Label, and Custom Fields and apply those tags to the issue after its made.
Example: email summary contains "Project Name: Test", I would then like the automation rule to create the issue and apply "Test" in the custom field label "Project Name"
I have attached a screenshot of what the email summary says and the corresponding labels that need to be filled out. ... the image uploader isn't working
Basically I want the info in the email summary to populate the custom fields in jira with the correct labels.
Email Summary:
testing issue,
Project Name: Test
Component : Web
Id like the Jira issue to then be created and have the Custome Field I created (called Project Name and the Components field to be populated with the corresponding labels (Test and Web)
Hi @Brooke Fail,
Welcome to Atlassian Community!
Automation cannot be triggered on incoming emails, it runs after the issue has been created. But once the issue is created you use the text string smart values extract sub texts. You could use substringAfter( String separator) to get the project name and component.
Ok, so if I use the substring after to extract the project name from the description, I can use another smart value to take that string and create a new label that matches the text?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You do not have to use another smart value, all you would have to do use something like this to set the Project Name field for example:
{{issue.summary.substringAfter("Project Name")}}
This of course assume that the summary only have the project name as a sub string in the summary. If you need to extract multiple values then you could use create variable action and then use those later on in your automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.