I'm looking to enhance our engagement process (which is currently completed via Jira forms). We currently have qualifying questions in our form, such as 'Is there a material impact to risk and controls?' and so on.
I'd like to run a rule that when the user selects 'no' to those questions within our form, the ticket is automatically moved to Done in Jira and a comment is left.
I've been playing around with the automation feature and cant seem to get it to work. Any suggestions??
Hello @Liam Maloney
First you'll need to connect the "is there a material impact to risk and controls" to an actual custom field in Jira.
You can create a custom field with select option of "Yes" or "No".
You can also hide it in the layout of the work-item if you dont want people to see it.
Then, you can create an automation based on that field value.
Welcome to the community.
Are you using forms on a Jira project or a JSM project
If it's Jira forms, then @arielei is correct, but if it's JSM project the solution from @Dirk Ronsmans is your way to go.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Liam Maloney ,
Edit: depending on the product @arielei 's response could be correct,
However they actually added the ability to use Form fields in Automation rules through smartvalues.
The idea is that you first add a "field key" on the Form field (all the way in the bottom of the field configuration on the Form).
Then you can have a rule that triggers on "Form submitted" and perform a smartvalue validation for that fieldkey
It would look something like:
{{forms.last.[yourfieldkeysmartvalue]}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Huh.
I was ready to agree with you @Marc - Devoteam but now that I'm looking at the "latest" Forms, I don't think that's quite right, and I believe there's at least two possibilities. (Oy.)
I think that @arielei is describing a function of JSM (ProForma, also available as Advanced Forms on some instances): mapping Form-only fields to "Real" Custom Fields.
Looking at Forms in Company-Managed and Team-Managed Software projects, you'll see that in the Company-Managed form, you cannot drag any fields that do not already exist. (This is my test site, where I name my fields what they do, hence Number Field and Paragraph Field, etc.)
Over on the Team-Managed side, you'll note there is a [+ Create new field] button. This actually creates a new field in the project.
These Forms are not attached as separate entities to the issues. They are basically a new way to let users create issues. It's an end-run around the problem of "Our users say there's too many fields on the create screen" issue.
So if @Liam Maloney is using one of these new Forms, then he merely needs to have his Automation trigger off of "Issue Created" and then check the values of 'Is there a material impact to risk and controls?' and other fields.
@John Funk can you confirm that Forms in JWM also work like the Team-Managed example above? That is: adding fields to a Form also add them to the Project? And creating a ticket via a Form does NOT result in an attached form of any kind? That's what I'm seeing in my test JWM project, but wanted to confirm. Have Forms in JWM always behaved this way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Darryl Lee - For what I call built-in forms for things like the simple Request Type form in JSM, JWM forms, and Jira Software forms, the field must exist first before you can add it to the Form.
The other type is what I call Advanced Forms or the old ProForma forms. Form only fields in these forms can be used the way @Dirk Ronsmans describes.
But there is a catch - there are sneaky ways to to add Advanced Forms to Jira Software and Jira Business (JWM) projects. So it really depends on the type of project and form.
@Liam Maloney - Welcome to the Atlassian Community!
What type of project have you created? JSM? Software? Business?
Also, please share the rule that you have so far and where it is not working for you.
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.