Hi,
I want to extract a custom field value present in various sub-tasks related to a particular issue. How to achieve that programmatically?
For example:
I have a story XYZ and it has 2 sub-tasks XYZ-1 and XYZ-2 and each of the sub-task has a custom field that is pre-populated.
How to extract those custom field values using the REST API programmatically?
I need to scale it for a large number of stories and it's corresponding sub-stories/sub-tasks
Hi @Martin Bayer _MoroSystems_ s_r_o__
I am using server instance. Can you please elaborate and share some link of the resources.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Aditya Sharma sure, but can you desribe your use case in detail? Do you need to get data from some integrated system (that's why you need REST API), or you need to get required information in some "internal" Jira functionality (postfunction, validator, listener)?
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Martin Bayer _MoroSystems_ s_r_o__
The use case is as follows:
I have a project in Jira under which I have several stories and associated sub-tasks.
My requirement is to read values from custom fields from all the sub-tasks having those custom fields, also every sub-task is associated with one of the stories in the project during a sprint cycle.
For each sprint cycle, I want to perform this operation where I read the custom field value at the Sub-task level. for all the stories.
I am relatively new to Jira. I don't know to which category this type of operation belongs to.
Thanks,
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Aditya Sharma and you always need to read all the subtasks in ONE project? So the "project" is the only condition? And can you use Java API = you will write code for script runner or Jira Add-on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Martin Bayer _MoroSystems_ s_r_o__
It can be for any project and for different sprints. Actually I want to know which is a better approach, an add-on, or a script using java/groovy?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Martin Bayer _MoroSystems_ s_r_o__
If you don't mind can we connect on zoom or somewhere? So that I can explain it to you in a better way. My email-id is adityasharma12399@gmail.com.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Aditya Sharma could you record some video or something? We could call but other people on community forum won't be able to get these information. And maybe someone in the future will have similar problem, so let's try to put all the information here.
I have some additional questions:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Martin Bayer _MoroSystems_ s_r_o__, due to company restrictions I can't post the video here.
So by taking the value from the custom fields I need to generate a report comparing the values.
I need to invoke this functionality at the Jira dashboard, so a Project Manager can view the report from his/her dashboard.
First I need to get past this then I will upload proper documentation for this in the community.
Please if you don't mind can we connect somewhere else?
Thanks and Regards,
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.