You can also do this with a post function on the Create transition of the sub-tasks workflow, using the post function:
Copy Value From Other Field | Copies the value of one field to another, either within the same issue or from parent to sub-task. |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What have you tried to solve this need?
If you have created a rule and it is not working as expected, please post images of your complete rule, the audit log details, explain the field types involved, and explain what is not working as expected. Those will provide context for the community to offer suggestions.
If you have not yet started a rule...
There are similar example rules in the templates for a project to do this, and many community posts from which show the answer to this question.
You will also need to clarify your scenario to understand how many rules are needed, and with which triggers. At a minimum, please decide what will happen when:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bill.
I am yet to create a rule.
The rule which i wish to create is
1. Condition - Parent and sub-task exists.
1. Parent Issue - When a filed of parent is updated ( I have a list of 4 specific fields for which I want the same value to be passed to sub-task.
2. Update the field of Sub-task with same updated value of Parent issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @ramnik malik ,
You can use Jira Automation to do that.
1. Go to Project Settings -> Automation -> Create a rule
2. The rule should triggered when 'Issue Created'
3. IF/Else to check its a sub task
4. Then 'Edit issue'
You can select the fields you want to update and tap on 3 dots-> select 'Copy' option
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Tharaka_Hettiarachchi - Thanks for your response.
I will try as suggested, however I want to trigger the rule when existing parent is updated and not when created.
The rule which i wish to create is
1. Condition - Parent and sub-task exists.
1. Parent Issue - When a filed of parent is updated ( I have a list of 4 specific fields for which I want the same value to be passed to sub-task.
2. Update the field of Sub-task with same updated value of Parent issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok @ramnik malik . You can trigger the rule when 'Issue Updated'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tharaka_Hettiarachchi - I tried using the "Issue Updated" and
1. Issue Type = "Sub Task" -> Edit issue ----- Did not work
2. If Sub Task Present --- > Edit issue - did not work.
I could not find any option which says update Sub-task
On updating the field of parent issue, unable to auto update the same filed of sub-task
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tharaka_Hettiarachchi @Curt Holley @Bill Sheboy
Thank You for your guidance. The problem is resolved now. The solution is
1. Select - When Values Changes for ( Select the fields update of which should trigger this rule and when - Create Issue, Edit Issue, Transition Issue )
2. Under Issue Filed Conditions - Select Issue Type Equals - Story
3. Use Brach Condition for Sub-Tasks
4. Select under Issue Trigger Rule - Edit Issue.
4a. Select the fields the value of which we want to auto update.
4b. Select Copy - Modify the value From Current Issue to Parent Issue.
On my system Admin has blocked the screen capture hence written the steps.
Thank You.
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.