Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot get @inherit to work

smaction June 29, 2018

Here is my markup for the template that creates the subtask but none of the fields are inherited.

 

- MR / cfield:"account@inherit" cfield:"kt@inherit" cfield:"type@inherit"
- KWG / cfield:"account@inherit" cfield:"kt@inherit" cfield:"type@inherit"
- KWA / cfield:"account@inherit" cfield:"kt@inherit" cfield:"type@inherit"
- Content / cfield:"account@inherit" cfield:"kt@inherit" cfield:"type@inherit" watcher:"rachelj"
- Federline / cfield:"account@inherit" cfield:"kt@inherit" cfield:"type@inherit"
- AWR / cfield:"account@inherit" cfield:"kt@inherit" cfield:"type@inherit"


Where did I go wrong?

1 answer

0 votes
Micha Kops
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2020

According to the addon's wiki, the syntax for inheriting custom-fields is:

- Summary / cfield:"NAME:@inherit"

So in your example, you should possibly write:

- MR / cfield:"account:@inherit" cfield:"kt:@inherit" cfield:"type:@inherit"
- KWG / cfield:"account:@inherit" cfield:"kt:@inherit" cfield:"type:@inherit"
- KWA / cfield:"account:@inherit" cfield:"kt:@inherit" cfield:"type:@inherit"
- Content / cfield:"account:@inherit" cfield:"kt:@inherit" cfield:"type:@inherit" watcher:"rachelj"
- Federline / cfield:"account:@inherit" cfield:"kt:@inherit" cfield:"type:@inherit"
- AWR / cfield:"account:@inherit" cfield:"kt:@inherit" cfield:"type:@inherit"

Also please watch out, that inheriting custom-fields is currently only implemented for the following custom-field types:

  • Checkboxes
  • Text Field (Single Line)
  • Date Picker
  • Number Field
  • Text Field (Multi Line)
  • URL Field
  • User Picker (single user)
  • Select List (multiple choices)
  • Date Time Picker

More information can be found here: https://bitbucket.org/hascode/jira-quick-subtasks/wiki/Home#markdown-header-custom-fields-inheriting

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events