Assign parent field values to the subtask creation page

lei_zou March 27, 2024

1. I want to set value in open create Sutask page for field. and the value from parent page.

2. when open create sutask page from 'http://localhost:2990/jira/secure/QuickCreateIssue!default.jspa?decorator=none&parentIssueId=10505&a=xxx' set field 'a' value is 'xxx'.

  Is there a way to do this???

image.png

2 answers

2 votes
Rebekka Heilmann _viadee_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 27, 2024

Hi @lei_zou 

you could populate the field with an Automation rule on/after creation. If the user put a value in, that would overwrite it. You could also hide it on the Sub-Task Create Screen.

There is no way to pre-populate the field based on Parent value in vanilla Jira. There are some Marketplace Apps though that might be able to do so - however, the connection between Parent and Sub-task don't exist at that point so there isn't really a way to get values from the (soon to be) parent at that point.

I would say Automation is the easiest way without 3rd Party tools.

lei_zou March 27, 2024

 parentIssueId to subtask? Don't support more?

Or is there a convenient way to intercept dialog boxes and rewrite them

image.png

Rebekka Heilmann _viadee_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 28, 2024

Oh right - still would need Marketplace Apps for it. Scriptrunner is one option like you mentioned below.

lei_zou March 28, 2024

use

<action name="com.rednuo.pmap.jira.webwork.ExCreateSubTaskIssue" alias="CreateSubTaskIssue">
Implemented filling in subtasks
but
new problems when show dialog.
image.png
lei_zou March 28, 2024

In JavaScript, can obtain

image.png

0 votes
lei_zou March 27, 2024

ScriptRunner It achieves. =>Modify Field Descriptions (adaptavist.com)

I also want to achieve it. Or  how to pass the value to it

image.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events