Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cannot get @inherit to work

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

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
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

216 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you