Details
-
Bug
-
Status: Done
-
Critical
-
Resolution: Done
-
8.6.0
-
SR4J Sprint 155 (8.11.0), SR4J Sprint 156 (8.12.0)
-
3
-
2.5
Description
When a Behaviour Initialiser is added to filter the Issue Types, it appears that Advanced Roadmaps' Parent Link field is not able to display the Parent issue if the profile language is changed to any language where the issue type name also changes.
Steps to Reproduce
- Ensure that the Advanced Roadmaps plugin is added. Configure the Plan to add a parent issue for the Epic issue type, e.g. Initiative, and create the Initiative.
- Add a simple Behaviour Initialiser to exclude any issue type as shown below:-
import static com.atlassian.jira.issue.IssueFieldConstants.ISSUE_TYPE getFieldById(ISSUE_TYPE).setFieldOptions(['Epic', 'Initiative', 'Story', 'Task'])
- Change the profile language to either Polish, Portuguese, Romanian or any language where the Epic issue type name is changed to the locale.
- Create an Epic issue and try to select a parent issue from the Parent Link list.
Expected Behaviour
The Parent Link list must display the Initiative Issue
Actual Behaviour
The Initiative issue goes missing from the Parent Link list as shown in the screenshot below:-
Additional Info
- The endpoint used to get the parent linked value is http://<JIRA_URL>/rest/jpo/1.0/parent/suggest
- If you do not set the issue type options field with Behaviour, the issue type names sent to the above URL are in English irrespective of the profile language used as shown in the payload below:-
Below is a screenshot of how the issue type options are displayed in HTML:-
- Else, if the issue type options are changed with Behaviours, the issue type name that is sent to this endpoint is in a Foreign language. Any language where the issue type is spelt differently than English will fail. Below is an example payload when using the Polish language and selecting the Epic issue type as shown in the screenshot below:-
Below is a screenshot of how the issue type options are displayed in HTML:-
Attachments
Issue Links
- mentioned in
-
Page Loading...