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
Community showcase
Posted 2 hours ago in Europe

Topic Tuesday: Pizza Toppings

Today we're off to Canary Wharf for our next event at Moody's  Investors Service, so I hope you can all make it. Please RSVP here if you can: https://aug.atlassian.com/events/deta...

10 views 0 0
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you