To update more fields on an issue or ticket in a JIRA project using information from the description inside of an email.
I'm just trying to autofill more fields, like the Part Number custom field, from the details inside an email that created the issue, which has the Part Number in the email.
I tried this logic, but it didn't work.
{
"fields":
{ "Part#": { "name": "{{issue.description.substringBetween("Part#: ", "\n")}}" },
"Part#": "{{issue.description.substringBetween("Part: ", "\n")}}" } }
@David Clark can you try the below?
{
"fields": {
"customfield_XXXXX": "{{issue.description.substringBetween("Part#: ", "\n")}}"
}
}
That kind of worked it just updated the label add the top to put the name Part#.
I need it to auto-populate the Part Number so that when I am in a Que, I search for a part number to see how many of that Part # to order.
The info I want is in the Summary field, its just not searchable and I don't see a way in the rules automation to use the Summary field to pull data from?
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.
Its not working.
Does it matter if the issue is created from an email?
The information is in the subject line, along with the description of the issue.
It's not pulling part # 12345 description plug
Subject: Part#12345
Part# 12345
Description Plug.
I want it to grab Part#12345 out of the issue and put it on the label called Part # on the central Issue Page so that I can search for Part#12345
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
could you like screenshot your flow or something, so I can understand better?
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.
{
"fields": {
"customfield_XXXXX": "{{issue.summary.match("Part#\d+")}}"
}
}
use custom field ID, don't use the name of field. try it once
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.