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

Odd question, I need to automatically populate a custome field with parrent and child issue name and links?

I did the custom field tutorial.

https://developer.atlassian.com/display/JIRADEV/Creating+a+Custom+Field+in+JIRA

Basically my boss wants to sort by parrent and child issues. I figure this will end up being two custom fields that I fill by splitting the Summary Field. What is the best way to do this without the user entering in the data twice.

I figure it is a parrent issue the child issue will just be an empty string.

3 answers

1 accepted

I read a little about it, unfortunatly I can only use first party plugins. Some strange rule I will never understand. I should have mentioned that in the original question.

You mean Atlassian plugins? If you can't use third-party ones or write your own, I don't see how it can be done.

I can write my own and use Attlassian Plugins.

hi Jason,

When you need to sort on 2 fields, you can easily do so in the JQL language, where you, as in SQL, mention the sort option:

project = "ProjectName" order by cf[001] asc, cf[002] asc

where cf[001] is the name of your parent issue and [cf002] is the name of your child issue.

hope this helps,

Jacques.

Thank you, that makes sense for the sorting, but how do I populate the fields?

I explained the problem to my boss and he told me to get it working with Sript Runner and he will see about getting permission to use the plugin. I told him as an admin he going to have fun with it.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Europe

Daniel Meisen, kreuzwerker, Video and Slides online

Video and slides from this week's Monday Night Special are online. Learn more about the differences between Atlassian Server/Data Center and Atlassian Cloud from Daniel Meisen, kreuzwerker, and find ...

7 views 0 0
View post

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