Details
-
New Feature
-
Status: Done
-
High
-
Resolution: Done
-
None
-
None
-
None
-
Sprint 52
-
1
Description
We can only apply the create constrained issue script fragment to an individual project in one go. This is due to the way we built the link for that web item. Meaning users have to set multiple constrained issue fragments up across different projects.
Ideally we would give the option for the user to generate the link parameters using an inline script or via whatever project is selected (via behaviours).
The workaround for now is to use a parameter in the link which provides the current project id. See example below:
<web-item key='link-create-blocking' name='ScriptRunner generated web item - link-create-blocking' section='operations-top-level' weight='70'> <label>Create blocking</label> <styleClass>sr-create-bound-issue</styleClass> <link linkId='link-create-blocking'>/jira/secure/CreateIssue.jspa?pid=${project.id}&issuetype=10004</link> </web-item>
wdavis hit this issue, and assumed you could set the correct project via behaviours.
Attachments
Issue Links
- is related to
-
SRJIRA-2747 Constrained create issue screen doesn't preserve behaviour context id when project is changed
-
- Done
-
-
SRJIRA-2180 Provide Behaviour Context for all custom web items, not just Create Constrained Issue
-
- To Do
-