Similar to how sub-tasks can be created in the issue view and linked to their parent task (see image #1 attached), we want to be able to create a new child issue and have it automatically link to the parent task (by pre-filling the "Parent Link" field in the Create Issue window). Is this possible? We have ScriptRunner, so we're open to the idea of utilizing that to do it.
For context, the problem we're trying to solve is that our users aren't filling out the "Parent Link" field for various reasons (mostly just forgetfulness), so we end up with a high number of orphaned issues. We want to make issue creation in the hierarchy as streamlined as possible.
Current versions of what we're using: Jira Server (7.13.0), ScriptRunner (5.6.1), and Portfolio for Jira (3.9.0).
Hello Kelly,
Unfortunately it is not possible at this time. Portfolio Fields have some some limitations in the current design. Primarily they are not a fully recognized fields in Jira but managed in the portfolio application directly and details are passed from portfolio to Jira about the field contents. There is not a direct call from the api to the field but rather a managed field by the application.
Additional details on this can be seen in the following Feature request where we are tracking interest in updating the behavior to allow for additional integration such as ScriptRunner or adding in native options such as making the field required on the create screen, make sure to add your vote, and add yourself as a watcher if you want updates on the request:
But overall the parent link field (and the other portfolio specific fields As covered here) are based of the calculations run in the portfolio application and stored in a different location than custom field values. For a detailed look at the mappings, If you look in the database tables and see the mappings int the json_value column of the property_entity table with the query:
select * from entity_property where property_key = 'jpo-issue-properties';
Because of the portfolio application handling the values add-ons like ScriptRunner are not able to pull a direct field value, and there is a discussion about this in more detail with some feedback from Adaptivist Support about the functions in the following post:
Regards,
Earl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.