Please note that all Issue Types referred to in this question are ones that are available and defined in Jira Settings: atlassian.net/jira/settings/issues/issue-types i.e. not Issue Types in Project Settings.
1. At first, in system rules (project-scoped global automations) there was only Epic in the Value dropdown of Issue fields condition of the if statement (I'm not entirely sure if this is subscription level related or blank project template related). Meanwhile, the standard if statement in system rules was properly detecting Epics.
2. Then, Issue Types in Jira Settings, changes made:
2.1. Added two new Issue Types (Task) and (Sub-task). Added two new Issue Type Schemes for each newly added Issue Type.
2.2 Associated added Issue Types with their Schemes (exception: sub-task - could not be defaulted to the newly added Sub-task type, but only to default Issue Type Scheme.
2.3 Attempted to associate the newly added Issue Type Schemes to projects, but project list was empty (i.e. could not associate to proceed).
3. Then, under the above settings, the if statement in project-scoped global rules (automations) stopped detecting Issue Types, all issue types were not passing the If statement, and also all issue types were reverting to Else in If-Else.
4. Then, Issue Types manual revert, but for the recently added Issue Type: Task to become un-deleteable! Now, initial Issue Types in Jira Settings are unreachable, I can't fully manually revert.
5. Now, I can't fully manually revert and can't fully manually proceed, and the if and if-else conditions in system rules still do not detect Issue Types.
1. Trigger: When issue updated.
2. Condition: If Issue Type does not equal Epic.
3. Action: Log: this is not epic.
1. Update an Epic.
2. Update a Task.
I think this audit log should not be possible to achieve by an end user (i.e. myself):
Reason: because, in effect, it is a break in built in features of the automations (i.e. the if statement and the if-else statement).
I presume this state is somehow related to the empty project list that I find here:
Note: the above project list is also empty for the newly added and then recently removed Issue Type Schemas at all steps (i.e. not only empty for Default Issue Type Scheme).
Reason it is possibly related: the newly added Issue Type Schemas could not be associated with Jira projects.
Possible reason why the project list is empty: current Jira projects are already associated with Issue Type Schemas.
1. How can I associate new Issue Type Schemas with my current Jira project? -> to proceed with adding Issue Types that are operational in applicable system rules conditions.
2. Why can I not default an Issue Type: Sub-task to an Issue Type Schema: Sub-task?
3. Why can I not delete a manually added Issue Type: Task? (but at the same time can delete a manually added Issue Type: Sub-task). -> to revert to an operational state.
4. Most importantly: How can I get the if and if-else conditions in system rules to detect issue types properly using Issue fields condition? (ideally: not only Epics as initially, but also Tasks and Sub-tasks)?
Note: similar results are applicable to both if and if-else conditions.
Note: JQL conditions are still working, which is great as I can manage my way through for new automations, but current automations may be out of order, I gotta go check on that in a moment! :-|
All in all: my Jira Settings should not have effectively cornered me in JQL conditions as I seem to be now :-D
Some of those Computer Studies assignments that teachers and lecturers give to you when you're a student can be really hard and complex, can't they. The best way to solve them is to break them down into small pieces, and solve each piece of the puzzle one at at time, rather than trying to solve the entire puzzle all at once.
Also, relying on random strangers on these public forums to do all your assignment research for you, and then work out all the answers for you, you're more likely to get just endless pages of different opinions, ideas and suggestions, any one of which could be correct or applicable to the problem. Not only that, but the overall response time will most likely just put you weeks behind schedule and you'll miss your submission date.
Have fun!
Hi there, details do not necessarily indicate multiple problems, sometimes the opposite. I think that even if you have read my question, you most likely have not completely understood the singular problem described in it. Briefly, here it is:
A still current functional breakage in built-in platform features, a breakage that occured after adjusting Jira settings, with no visible way backwards and no visible way forward using the same features that worked before the Jira settings changes. It's kind of an 'in-between' environment state from the end user perspective.
In a nutshell: Issue fields condition (a built in feature in my Jira automation environment) is not anymore properly evaluating Issue Types by name.
I hope it's more clear now.
Thanks for your comment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted] -- Welcome to the Atlassian Community!
As the original scope of your question (based on the summary) is about automation rules, I will confine my suggestions to that scope...as the rest of what you state seems unrelated to that.
When an automation rule is created and published, it has a specific scope in the rule details at the top. That scope is mostly used for the rule components, such as testing the Issue Type values by the identifier of the type. That identifier is saved with the respective rule components and is not dynamic based on anything which happens when the rule runs.
For example, when a rule has single-project scope it tries to use the information for that project. But since the introduction of team-managed project configuration features, such information can get muddled for larger scope rules (i.e., global and multiple-project). Thus, all bets are off for a global scope rule because there is no documentation of which issue type with the same issue type name could be used in rule components. Specifically, if there are two issue types named "Epic" the only way to confirm what you asked is:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy -- thank you for your warm welcoming! I'm happy to be here.
Thank you for your answer, it does provide a potentially viable workaround (using Issue Type IDs instead of names, and using Smart Values instead of Issue fields condition. Really appreciated, as it's an additional route also to JQL in handling this same logic.
As for the automation scopes, prior to getting your comment I had changed the scopes of all automations from project to global, and tested if the if and if-else had regained proper functionaility, but they had not.
Luckily my other automations do not utilize Issue field conditions to evaluate Issue Types.
I have managed my way through utilizing JQL, and I will not utilize Issue field conditions to evaluate Issue Types again - but this does not mean that the feature break went away, it's still there.
Thank you so much for your valued answer.
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.