Hi, I'm trying to create a rule (in the automation section) to add a comment when an issue is created and it has a specific status (Needs more info):
I don't know if it's useful, but the workflow of my states in my project is this:
To supplement what @Mikael Sandberg stated, you should also look into your automation rule so that the triggering event is chosen properly.
If you want to add comments when issue is created, then "issue created" event is correct. However, you cannot/should not test for the status condition because when issue is created it will always be assigned to the initial status as defined in the WF.
If you want to add comments when an issue is at a specific status, then the triggering event should be "Issue transitioned" or "Field value changed". This is where you can check on the status condition.
Hope this also helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
Is problem its own issue type?
There is a couple of things you could try, one is to simplify your automation since Needs more Info is the first status newly created issues get based on the workflow. So if everything works all you would need is the issue type equal story condition. Another would be to use the JQL condition instead and see if that helps, your JQL would look something like this:
issuetype = Story AND status = "Need more info"
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.