A user created an html flowchart to direct which issue type to create in JIRA for a certain project. Any thoughts of how we could integrate this into the "create" issue flow right in Jira?
Hi Jason,
I can confirm that it is not possible to directly insert an HTML page at the top of the Create Issue Screen.
However, using the Behaviours feature of ScriptRunner for Jira Server / Data Center then it would be possible to write some logic to dynamically add some content such as some HTML Below a field such as the Issue Type field when values are selected as mentioned here.
You can also see the full API reference of methods that the Behaviours feature provides outlined here and this feature may provide a solution to help you achieve your requirement.
I hope this information helps.
Regards,
Kristian
Hi Jason
welcome to the Atlassian community.
Would you like to stick to the html flowchart / html page?
If yes, One option could be to enhance the created html flowchart and to call the create issue Rest api with the required issue type (https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-create-issue-7897248/) or you could have a look to the Jira issue collector features https://support.atlassian.com/jira-cloud-administration/docs/use-the-issue-collector/
If you are looking to change the issue type directly in Jira you could think of using Scriptrunner /Listeners like discussed within https://community.atlassian.com/t5/Answers-Developer-Questions/Changing-the-issue-type-with-groovy/qaq-p/543998
Hope that helps
Kurt
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.