We are building a workflow that will need to execute a couple of different actions depending on different field checks.
As I understand it, you would use branching to achieve this but I can't seem to get it working.
For testing purposes, I was just trying to have the automation make two different comments on the triggering issue based on if two different fields had a specific entry. Here is screenshot of what I have.
The final automation will be creating linked issues in different projects based on those same two fields, but this was built to see if the branching was working in the way I assumed it would work.
Am I using the wrong branching or would I have to do this in a different fashion?
So the suggestions in this thread were not working as intended and I ended up having to go to Atlassian Support to figure out why. To be clear, the suggestions given before would work, if we were not using Forms.
We are using the new Form feature to gather data on our customer portal. The automation happens so fast that Jira doesn't have enough time to put the data from the Form into it's linked Jira Fields.
We had to put in several (6) Re-Fetch data actions at the start of the automation in order to give Jira enough time to put the data into the Jira Fields. After that, the automation suggestions worked as intended. We ended up using the Branching option as it was better for grouping for us and makes the flow easier to adjust later.
Hi @David Quiram ,
Requirements for automation
It would be good to formulate the way of the automation/the purpose as functional and highlevel as possible. That is the starting point to decide which way would fit best.
One way to do this is "given - when - then" method. This splits it up in the trigger, conditions and actions.
some insights that came to my mind regarding your example rule:
first condition - issue check
It´s good to check condition as early as possible to avoid further processing. There is a condition to check field conditions. Issue type can be checked there too which is more performant than a JQL.
branching
As a special issue triggered this rule and there hasn´t been any other action in between the "current issue" is automatically the issue you created. You could have done the same actions without the branches.
Please let me know if there are further questions where I can support you.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I need an automation that will execute two actions based on separate conditionals.
When box 1 is checked, take action A
When box 2 is checked, take action B
These requests will very likely have both boxes checked, so it will need to perform both actions, but that is not always the case so they need to be able to execute independently.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From how I interpret your description the a setting similar to following rule should meet your requirements (see screenshot)
I tested on my site:
Hope this helps.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I didn't realize you could do multiple IF statements. I will give that a try next.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @David Quiram ,
Based on your requirements, it seems that you are looking for the If / else block condition.
A sample configuration as below:-
Hope this helps.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was my understanding that if the issue matched the first IF condition, then it would follow that path, make the comment, and then exit the automation. Is that not correct?
Given your example, what if the user selected Apple AND Banana?
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.