Post 5: Best to help liberty. 1. Almost everyone includes that most suitable to be able to liberty and additionally safety measures with human being. Certainly no one particular can often be deprived about the freedom save during the using occasions and through accordance by using the operation recommended by doctors by just law: this legitimate detention connected with a fabulous guy subsequent to sentence from a competent trial.

Jira assigned date

AILEEN W. 0 comments

{REPLACEMENT-([edit])-()}{REPLACEMENT-(&#;)-()}

Jira Majority API examples

This guideline contains unique ideas connected with exactly how to help benefit from this Jira Relax API, including how for you to question matters, produce a strong problem, modify a good situation, along with others.

The reference certification regarding that Jira Server podium Relax API might be here:  Jira Server stand Others API.

Should you’ve certainly not utilised the particular Jira Sleep APIs prior to, many of us would suggest which anyone even look at the overview About any Jira Relaxation APIs.

The examples at this website page use curl.

jira sent to date

In the event some sort of reviews data is usually essential, it again is actually denoted by just the syntax along with a file facts will be suggested separately.

Creating the issue examples

Creating a powerful trouble working with the particular Jira Others API is actually for the reason that quick when creating some Article through an important JSON record.

To help make some sort of trouble, a person is going to require to help understand positive vital metadata, just like your Identity connected with this venture in which any matter could be created for, or simply the particular Identity from any matter variety.

asterixdb-notifications snail mail collection archives

You will are able to ask for the actual create metadata with regard to all difficulty designs throughout virtually all ventures by employing the  resource.

For example:

http://localhost:8080/rest/api/2/issue/createmeta

If everyone basically wish your subset from this approach tips, identify the particular wanted tasks plus issue designs simply because query factors.

Regarding case study, this unique demand jira given day yield the build metadata with regard to that Insect challenge model for the actual Jira project:

http://localhost:8080/rest/api/2/issue/createmeta?projectKeys=JRA&issuetypeNames=Bug&expand=projects.issuetypes.fields

For further in depth samples from wondering metadata, discover the examples in the sections later.

Creating a particular situation choosing any plan essential as well as area names

This is without a doubt any elementary case from ways towards produce a challenge by using typically the Jira Rest API.

Request
curl \ -D- \ -u charlie:charlie \ retained assignment Publish \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/issue/
Input data
{"fields":{"project":{"key":"TEST"},"summary":"REST ye merry gentlemen.","description":"Creating of an concern working with undertaking important factors not to mention subject model bands working with the actual Slumber API","issuetype":{"name":"Bug"}}}
Response
{"id":"39000","key":"TEST-101","self":"http://localhost:8080/rest/api/2/issue/39000"}

Creating an concern utilising a good plan Identity and additionally challenge form ID

This instance applications the actual task Identity and even situation sort Username rather compared with typically the major and even company name respectively.

jira sent to date

This unique is normally practical in cases where an individual sole possess typically the IDs. For the purpose of case, your current integration and software can experience up to now sought after and additionally saved exclusively the particular IDs of that undertaking together with trouble type.

Request
curl \ -D- \ -u charlie:charlie \ -X Posting \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/issue/
Input data
{"fields":{"project":{"id":"10110"},"summary":"No Sleep intended for the particular Wicked.","description":"Creating for a difficulty utilising IDs for the purpose of assignments plus matter types applying this Relax API","issuetype":{"id":"1"}}}
Response

The resolution gives that situation Identification, key, as well as the Web site to be able to your problem.

Journal article content related to immunizations are able to usage this particular that will Secure added knowledge, Fit upgrades, and additionally and so relating to by typically the Relax API.

{"id":"39001","key":"TEST-102","self":"http://localhost:8080/rest/api/2/issue/39001"}

Creating a good sub-task

A sub-task is usually effectively a new specific kind about trouble, thus your sub-task formation ask for plus solution tend to be extremely matching to make sure you trouble generation.

jira designated date

Constructing a good sub-task has got a few essential differences:

  • The  field has to correspond to help you a fabulous sub-task matter choice (you can certainly use  to understand sub-task hcs 245 culture and additionally diseases essay types).
  • You will need to offer a  field in the particular issue make obtain comprising that No .

    or  of a mother issue.

Request
curl \ -D- \ -u charlie:charlie \ -X Put up \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/issue/
Input data
{"fields":{"project":{"key":"TEST"},"parent":{"key":"TEST-101"},"summary":"Sub-task of TEST-101","description":"Don't overlook to can this approach too.","issuetype":{"id":"5"}}}
Response

The reaction features any sub-task Identity, simp dissertation, along with typically the Web site to help all the problem (which will be able to next often be employed that will Obtain additional knowledge, Decide to put changes, and also and so on) via any Others API.

{"id":"39002","key":"TEST-103","self":"http://localhost:8080/rest/api/2/issue/39002"}

Creating a concern utilising specialized fields

In the actual Jira Majority API, specialty areas are generally exclusively revealed just by the actual domain Username, simply because typically the exhibit bands are actually not even distinctive around the Jira circumstance.

Just for example of this, everyone may well have 2 jira sent to day dubbed “Escalation date”, one particular having some sort of Identification in “12221” and additionally 1 through a strong No . with “12222&rdquo.

A tailor made line of business is normally truly referenced by  + any industry Identity, fairly as compared with just your subject ID.

For example, the “Story points” customizable industry with the help of Identification = “10000” can be referenced when to get Snooze names.

People will be able to get this specific useful resource identifier by requesting that create jira designated night out just for a concern type.

The occasion following makes use of an important customized cost-free content material domain referred to as “Explanation” that includes a good Id from 11050.

jira sent to date

Be aware who many of us guide typically the industry by way of not to mention that will all the company name connected with a discipline “Explanation” can be not necessarily employed anywhere.

Request
curl \ -D- \ -u charlie:charlie \ -X Jira assigned go out with \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/issue/
Input data
{"fields":{"project":{"key":"TEST"},"summary":"Always implement appropriate.

The following could gratify a lot of people along with astonish all the REST.","description":"Creating a dilemma at the same time setting customizable subject values","issuetype":{"name":"Bug"},"customfield_11050":"Value in which we are adding straight into your Totally free Txt Field."}}

Response

Again, the matter built is normally taken back throughout typically the response.

{"id":"39002","key":"TEST-103","self":"http://localhost:8080/rest/api/2/issue/TEST-103"}

Setting custom made industry data files regarding additional discipline types

The types listed below reveal precisely how for you to establish the actual valuations regarding diverse choices connected with custom made areas throughout the particular feedback facts.

Be aware of who you must collect personalized domain Username sample analysis articles on il style endpoint.

CascadingSelectField
"customfield_10001":{"value":"green","child":{"value":"blue"}}

The benefit tied in with the help of “name” (“green” throughout this kind of example) will be your parent method specific, next “blue” is definitely your infant option).

DatePickerField
"customfield_10002":"2011-10-03"

The file format is: 

DateTimeField
"customfield_10003":"2011-10-19T10:29:29.908+1100"

This file format is normally ISO 8601: 

FreeTextField
"customfield_10004":"Free written text moves in this article.

Creating a good issue examples

Style away!"

GroupPicker
"customfield_10005":{"name":"jira-developers"}

Like end users, teams are generally given by way of term jira assigned particular date ID.

MultiGroupPicker
"customfield_10007":[{"name":"admins"},{"name":"jira-developers"},{"name":"jira-users"}]

Like individuals, types are actually particular simply by identity or possibly ID.

MultiSelect
"customfield_10008":[{"value":"red"},{"value":"blue"},{"value":"green"}]
MultiUserPicker
"customfield_10009":[{"name":"charlie"},{"name":"bjones"},{"name":"tdurden"}]

Array connected with users.

NumberField
"customfield_10010":42.07

Just an important wide variety (not your variety throughout a fabulous string).

ProjectPicker
"customfield_10011":{"key":"JRADEV"}

You may well additionally specify typically the assignment just by undertaking ID.

{"id":"10000"}
RadioButtons
"customfield_10012":{"value":"red"}

You can certainly at the same time identify the actual choices just by ID.

SelectList
"customfield_10013":{"value":"red"}

You might likewise identify typically the decision by ID.

SingleVersionPicker
"customfield_10014":{"name":"5.0"}

You will also arranged a edition by way of ID.

TextField
"customfield_10015":"Is just about anything superior as compared with text?"
URLField
"customfield_10016":"http://www.atlassian.com"
UserPicker
"customfield_10017":{"name":"brollins"}
VersionPicker
"customfield_10018":[{"name":"1.0"},{"name":"1.1.1"},{"name":"2.0"}]

You might as well lay down a release by ID.

Adding a new worklog entrance at the time of create

If you actually choose to placed that occasion visitor area on the Jira character investigation roger chillingworth essay as soon as setting up any concern, typically the establish data files should certainly incorporate a fabulous portion including all the following:

"timetracking":{"originalEstimate":"1d 2h","remainingEstimate":"3h 25m"}

Time traffic monitoring have to get permitted to help you set those derricks.

For add-on, in the event you actually use typically the Jira “Legacy” point in time traffic monitoring function (set from a good Jira Administrator), then just the outstanding estimate are able to come to be collection, for that reason the niche have to not likely become included in any Relaxation request.

Request

The same for the reason that the particular alternative examples, the actual set up is actually an important POST:

curl \ -D- \ -u charlie:charlie \ -X Content \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/issue/
Input data

Again, this particular rally or jira evaluation essay will be any time Heritage form designed for jira given time tracking might be off.

{"fields":{"project":{"key":"TEST"},"summary":"Who seeks your faultless mate Sits friendless.","description":"Creating a particular situation and also positioning time period tracking fields","issuetype":{"name":"Bug"},"timetracking":{"originalEstimate":"1d 2h","remainingEstimate":"3h 25m"}}}
Response
{"id":"39003","key":"TEST-104","self":"http://localhost:8080/rest/api/2/issue/TEST-104"}

Editing any difficulty examples

The cases around this specific page demonstrate everyone how to be able to modify a good existing matter using a Jira Rest API.

there usually are a couple of variations for instances for this particular section:

  1. Editing a powerful situation by simply bringing up-to-date typically the price in a fabulous industry. Examples:
    • Assigning an trouble to be able to a fabulous user.
    • Updating a variety of area within a request.
  2. Editing the problem simply by using the particular Specify, Put, as well as Get rid of treatments.

    Jira Central Support

    Not most of spheres service just about all procedures, nevertheless when a basic law, particular price spheres help support Placed, unlike multi-value spheres sustain Arranged, Combine, and even Get rid of, wherever Collection replaces a niche subject matter though Increase along with Get rid of add more or perhaps take out you and also further prices as a result of all the your recent catalog of prices.

    Examples:

    • Adding a fabulous component.
    • Setting your aspects field.
    • Adding an important aspect as well as slavery and it's sectional troubles essay an alternative ingredient within all the exact request.
    • Updating a variety of fields.

To change any concern, you actually have to recognize selected key element metadata, just like that editable derricks along with the actual operations which will people support.

You can certainly ask this specific facts designed for a good trouble by means of by using the  resource.

To get example:

http://localhost:8080/rest/api/2/issue/JRA-13/editmeta

Note which will the  resource may not perform with the help of Use operations. People need to basically employ it to find data.

Assigning any concern that will an important user

This example assigns a good difficulty in order to the visitor with the help of the particular login name “charlie&rdquo.

Request
curl \ -D- \ -u charlie:charlie \ -X Set \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/issue/QA-31
Input data
{"fields":{"assignee":{"name":"charlie"}}}
Response

Status prefix of “204 Certainly no Content&rdquo.

Updating several spheres around a person request

This instance update versions all the synopsis, account, and a pair of made to order fields.

Request
curl \ -D- \ -u charlie:charlie \ -X Set \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/issue/QA-31
Input data
{"fields":{"summary":"Summary","description":"Description","customfield_10200":"Test 1","customfield_10201":"Value 1"}}
Response

Status coupon in “204 Hardly any Content&rdquo.

Adding a component

Request
curl \ -D- \ -u charlie:charlie \ -X Set \ --data {see below}\ jira designated meeting "Content-Type: application/json"\ http://localhost:8080/rest/api/2/issue/QA-31

example input data

{"update":{"components":[{"add":{"name":"Engine"}}]}}
Response

Status coupon for “204 Hardly any Content&rdquo.

Setting that features field

Request
curl \ -D- \ -u charlie:charlie \ -X Get \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/issue/QA-31

This can be a good case study feedback data:

{"update":{"components":[{"set":[{"name":"Engine"},{"name":"Trans/A"}]}]}}
Response

Status rule associated with “204 No Content&rdquo.

Adding some sort of aspect in addition to wiping out yet another aspect with a same exact request

Request
curl \ -D- \ -u charlie:charlie \ -X Put \ --data {see below}\ -H "Content-Type: application/json"\ jira allocated time

This is some sort of situation advice data:

{"update":{"components":[{"remove":{"name":"Trans/A"}},{"add":{"name":"Trans/M"}}]}}

Note: The “Engine” element (if it exists) stays untouched through that update.

Response

Status code connected with “204 Certainly no Content&rdquo.

Updating multiple fields

Request
curl \ -D- \ -u charlie:charlie \ -X Get \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/issue/QA-31

This is without a doubt a good occasion input civil engineer particular statement examples stop Chevy"}]}}

Response

Status program code in “204 Absolutely no Content&rdquo.


The illustrations within the following component demonstrate to you will the simplest way to help jira assigned time frame any review to help a prevailing challenge applying any Jira Others API.

Editing a strong situation examples

Generally there will be a pair of models connected with cases in it section:

  1. Adding a review by using the  resource. This unique useful resource merely adds a fabulous comment as well as little or nothing else. The idea is without a doubt moreover conceivable for you to contribute an important comment like the side-effect associated with another process want “edit issue” and “transition issue&rdquo.

    That source of information is usually notably advantageous should a logged around user will definitely not own “edit” choice designed for typically the dilemma, however can possess any “add comment” authorization.

    jira assigned date

    Examples:

  2. Adding some provide feedback any time editing and enhancing any matter, that will be, using a alter situation solution.

    Examples:

    • Adding some opinion working with the edit matter method.
    • Adding a new comment along with posting all the subject explanation employing the modify subject method.

This occasion ask for brings a fabulous review to be able to an present issue.

Request
curl \ -D- \ -u fred:fred \ -X Put up \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8081/rest/api/2/issue/QA-31/comment

This will be some sort of example reviews data:

{"body":"This can be the comment concerning this high quality connected with that response."}
Response

You might only attain the resolution jira assigned time a new situation about “201” by using the actual maximum JSON counsel of that added in comment.

Adding a good comment together with positioning your security measure level through typically the equal request

This case study obtain contributes an important thought and also identifies all the basic safety point to make sure you the latest issue.

Request
curl \ -D- \ -u fred:fred \ -X Publish \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8081/rest/api/2/issue/QA-31/comment
Input data
{"body":"This is normally some provide feedback the fact that exclusively site will be able to see.","visibility":{"type":"role","value":"Administrators"}}

This instance require gives any provide feedback that will an old problem by this alter trouble solution.

i need in order to pick up all the time your subject assigned(or change) so that you can all the latest assignee. Help

Word of which only one thought with a time period can certainly become added in anytime changing a great matter by means of this unique resource.

Request
curl \ -D- \ -u fred:fred \ -X Insert \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8081/rest/api/2/issue/QA-31
Input data
{"update":{"comment":[{"add":{"body":"It might be instance in order to accomplish jira assigned go out with task"}}]}}

Adding a new ideas and also adding typically the issue explanation implementing the revise trouble method

This occasion ask for update versions this story from an already present challenge not to mention provides your opinion detailing precisely why using the manage challenge nike company schedule pdf \ -D- \ -u fred:fred \ -X Fit \ --data {see below}\ -H "Content-Type: application/json"\ http://localhost:8081/rest/api/2/issue/QA-31

Input data
{"update":{"description":[{"set":"JIRA should as well arrive along with the absolutely free pony"}],"comment":[{"add":{"body":"This ask was first at first developed on The language, which in turn virtually all from this creators can't read"}}]}}

Searching intended for matters examples

The suggestions in this section demonstrate you the simplest way to look pertaining to factors implementing Jira issued day with the aid of your Jira Remainder API.

Examples through this kind of section:

  • Searching just for concerns sent to towards a good selected user.
  • Searching designed for problems sent to for you to unique visitor along with restraining a telephone number for results.
  • Searching pertaining to issues sent to that will special user with purchased results.
  • Searching to get problems and also restraining your matter spheres came back during the actual results.
  • Searching for the purpose of situations choosing POST.

Searching for the purpose of situations allocated to make sure you a fabulous selected user

This illustration obtain researches regarding concerns sent to that will some sort of person along with the particular login “charlie&rdquo.

Some sort of sole Domain name parameter () the fact that consists of the JQL question is normally granted with any request.

Request
curl \ -D- \ -u charlie:charlie \ -X Receive \ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/search?jql=assignee=charlie
Response
{"expand":"schema,names","startAt":0,"maxResults":50,"total":6,"issues":[{"expand":"html","id":"10230","self":"http://localhost:8080/rest/api/2/issue/BULK-62","key":"BULK-62","fields":{"summary":"testing","timetracking":null,"issuetype":{"self":"http://localhost:8080/rest/api/2/issuetype/5","id":"5","description":"The sub-task for the issue","iconUrl":"http://localhost:8080/images/icons/issue_subtask.gif","name":"Sub-task","subtask":true}.},"customfield_10071":null},"transitions":"http://localhost:8080/rest/api/2/issue/BULK-62/transitions",},{"expand":"html","id":"10004","self":"http://localhost:8080/rest/api/2/issue/BULK-47","key":"BULK-47","fields":{"summary":"Cheese v1 2.0 issue","timetracking":null,"issuetype":{"self":"http://localhost:8080/rest/api/2/issuetype/3","id":"3","description":"A activity who preferences to help possibly be done.","iconUrl":"http://localhost:8080/images/icons/task.gif","name":"Task","subtask":false}."transitions":"http://localhost:8080/rest/api/2/issue/BULK-47/transitions",}]}

Searching for the purpose of problems designated towards certain individual plus limiting a number from results

This case call for looks for the purpose of concerns assigned towards the consumer using that user name “charlie” along with eliminates this wide variety for outcome that will a good particular number associated with issues.

Two even more Url guidelines tend to be granted with all the request:  and  These boundaries lay down a getting into subject come back within that JQL outcomes and all the selection about challenges through which will getting started concern respectively.

Request
curl \ -D- \ -u charlie:charlie \ -X Receive \ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/search?jql=assignee=charlie&startAt=2&maxResults=2
Response
{"expand":"schema,names","startAt":2,"maxResults":2,"total":6,"issues":[{"expand":"html","id":"10123","self":"http://localhost:8080/rest/api/2/issue/BULK-38","key":"BULK-38","fields":{"summary":"aaaaa","timetracking":null,"issuetype":{"self":"http://localhost:8080/rest/api/2/issuetype/5","id":"5","description":"The sub-task involving that pro abortion intro essay or dissertation paragraph can be very important, too","timetracking":null,"issuetype":{"self":"http://localhost:8080/rest/api/2/issuetype/5","id":"5","description":"The sub-task involving all the issue","iconUrl":"http://localhost:8080/images/icons/issue_subtask.gif","name":"Sub-task","subtask":true}.},"transitions":"http://localhost:8080/rest/api/2/issue/BULK-32/transitions",}]}

Searching for the purpose of problems allocated to help you special user with instructed results

This case ask researches meant for factors designated so that you can a good individual utilizing a login name “charlie” not to mention orders placed the actual arrived situations just by anticipated time frame.

jira issued date

All the ordering is usually given by choosing an  clause inside any JQL concern once more (not by using your Url parameter in ones Slumber API call).

Request
curl \ -D- \ covering mail wiki charlie:charlie \ -X Get \ -H "Content-Type: application/json"\ http://localhost:8080/rest/api/2/search?jql=assignee=charlie+order+by+duedate
Response
{"expand":"schema,names","startAt":0,"maxResults":50,"total":6,"issues":[{"expand":"html","id":"10123","self":"http://localhost:8080/rest/api/2/issue/BULK-38","key":"BULK-38","fields":{"summary":"aaaaa","timetracking":null,"issuetype":{"self":"http://localhost:8080/rest/api/2/issuetype/5","id":"5","description":"The sub-task for the issue","iconUrl":"http://localhost:8080/images/icons/issue_subtask.gif","name":"Sub-task","subtask":true}.},"transitions":"http://localhost:8080/rest/api/2/issue/BULK-38/transitions",},{"expand":"html","id":"10108","self":"http://localhost:8080/rest/api/2/issue/BULK-32","key":"BULK-32","fields":{"summary":"subtasks can be necessary, too","timetracking":null,"issuetype":{"self":"http://localhost:8080/rest/api/2/issuetype/5","id":"5","description":"The sub-task about a issue","iconUrl":"http://localhost:8080/images/icons/issue_subtask.gif","name":"Sub-task","subtask":true}.},"transitions":"http://localhost:8080/rest/api/2/issue/BULK-32/transitions",}]}

Searching pertaining to challenges plus setting any dilemma farms go back within the results

This case require lookups meant for issues allocated to help some sort of owner with the help of all the username “charlie” as well as restricts a trouble areas returned to help some sort of particular set.

The particular derricks issue will be specified as a result of providing some sort of added Url parameter which provides any Jira areas returned inside any JQL jira assigned time.

Your Answer

Every Jira niche during that record have to often be comma-separated, intended for example, .

Keep through brain which usually a few excess facts is without a doubt jira issued date arrived with any JSON response.

Request
curl \ -D- \ -u charlie:charlie \ -X Acquire \ -H "Content-Type: application/json"\'http://localhost:8080/rest/api/2/search?jql=project=QA+order+by+duedate&fields=id,key'
Response
{"expand":"schema,names","startAt":0,"maxResults":50,"total":18,"issues":[{"expand":"html","id":"10050","self":"http://localhost:8080/rest/api/2/issue/QA-19","key":"QA-19","transitions":"http://localhost:8080/rest/api/2/issue/QA-19/transitions"},{"expand":"html","id":"10051","self":"http://localhost:8080/rest/api/2/issue/QA-20","key":"QA-20","transitions":"http://localhost:8080/rest/api/2/issue/QA-20/transitions"}.{"expand":"html","id":"10053","self":"http://localhost:8080/rest/api/2/issue/QA-22","key":"QA-22","transitions":"http://localhost:8080/rest/api/2/issue/QA-22/transitions"},{"expand":"html","id":"10389","self":"http://localhost:8080/rest/api/2/issue/QA-35","key":"QA-35","transitions":"http://localhost:8080/rest/api/2/issue/QA-35/transitions"}]}

Searching pertaining to matters choosing POST

If your current JQL thought can be much too substantial that will specify for a Rotation parameter, most people can certainly Write-up the JQL search (in JSON format) in order to that Jira Relaxation API  resource instead.

Whatever added Domain name parameters (apart as a result of jira issued night out mentioned earlier mentioned should possibly be covered on a JSON-formatted JQL query.

Request
curl \ -D- cyclone nargis en birmanie article -u admin:admin \ -X Posting \ -H "Content-Type: application/json"\ --data '{"jql":"project = QA","startAt":0,"maxResults":2,"fields":["id","key"]}'\"http://localhost:8080/rest/api/2/search"
Response
{"maxResults":2,"startAt":0,"total":18,"expand":"schema,names","issues":[{"expand":"html","id":"10393","key":"QA-36","self":"http://localhost:8080/rest/api/2/issue/QA-36","transitions":"http://localhost:8080/rest/api/2/issue/QA-36/transitions"},{"expand":"html","id":"10389","key":"QA-35","self":"http://localhost:8080/rest/api/2/issue/QA-35","transitions":"http://localhost:8080/rest/api/2/issue/QA-35/transitions"}]}

Getting metadata just for constructing issues examples

The Jira Sleep API allows for one to help learn about the domains and additionally data files accessible and also necessary regarding creating complications.

Designed for this specific people work with the  resource.

Examples inside this kind of section:

  • Discovering challenge and also dilemma category data.
  • Discovering concern industry data.

Discovering task and additionally trouble kind data

To set up a good difficulty in Jira, you will first of all have to have to help specify some sort of challenge together with problem form.

These kind of collectively will be referred for you to throughout Jira like an Issue context and are usually put into use to help see any Jira strategies that will control precisely what area will be available just for the challenge, precisely what your default values are usually, as well as the things career fields can be mandatory.

Using typically the tool you actually can certainly come across typically the project as well as concern types.

Request
curl \ -D- \ -u fred:fred \ -X Obtain \ -H "Content-Type: application/json"\ http://localhost:8081/rest/api/2/issue/createmeta
Response

The answer comprises of a vary associated with journal article content for public figure endorsement and also any plan comprises some sort of vary about concern variations who sign up to make sure you this project.

{"expand":"projects","projects":[{"self":"http://localhost:8081/rest/api/2/project/XSS","id":"10020","key":"XSS","name":"<iframe src=\"http://www.google.com\"></iframe>","avatarUrls":{"16x16":"http://localhost:8081/secure/projectavatar?size=small&pid=10020&avatarId=10011","48x48":"http://localhost:8081/secure/projectavatar?pid=10020&avatarId=10011"},"issuetypes":[{"self":"http://localhost:8081/rest/api/2/issuetype/1","id":1,"name":"Bug","iconUrl":"http://localhost:8081/images/icons/bug.gif"},{"self":"http://localhost:8081/rest/api/2/issuetype/2","id":2,"name":"New Feature","iconUrl":"http://localhost:8081/images/icons/newfeature.gif"}.{"self":"http://localhost:8081/rest/api/2/issuetype/5","id":5,"name":"Sub-task","iconUrl":"http://localhost:8081/images/icons/issue_subtask.gif"}]},{"self":"http://localhost:8081/rest/api/2/project/BULK","id":"10000","key":"BULK","name":"Bulk Transfer 1","avatarUrls":{"16x16":"http://localhost:8081/secure/projectavatar?size=small&pid=10000&avatarId=10020","48x48":"http://localhost:8081/secure/projectavatar?pid=10000&avatarId=10020"},"issuetypes":[{"self":"http://localhost:8081/rest/api/2/issuetype/1","id":1,"name":"Bug","iconUrl":"http://localhost:8081/images/icons/bug.gif"}.{"self":"http://localhost:8081/rest/api/2/issuetype/5","id":5,"name":"Sub-task","iconUrl":"http://localhost:8081/images/icons/issue_subtask.gif"}]},{"self":"http://localhost:8081/rest/api/2/project/BLUK","id":"10001","key":"BLUK","name":"Bulk Shift 2","avatarUrls":{.}]}

If everyone understand this plans or even concern types you really are interested throughout, one can confine that list implementing the,and query constraints.

With regard to example:

curl \ -D- \ -u fred:fred \ -X Become \ -H "Content-Type: application/json"\ http://localhost:8081/rest/api/2/issue/createmeta?projectKeys=QA,XSS

Discovering problem niche data

When everyone own your plan and issue style, an individual may get access to typically the tips designed for this dilemma area by means of presenting this issue parameter by using the actual value.

Request
curl \ -D- \ -u fred:fred \ -X Obtain \ -H "Content-Type: application/json"\ http://localhost:8081/rest/api/2/issue/createmeta?projectKeys=QA&issuetypeNames=Bug&expand=projects.issuetypes.fields
Response

The effect has connected with a strong assortment from assignments and also every one project is made up of an array regarding situation designs in which jira issued day to make sure you that project.

{"expand":"projects",

{/REPLACEMENT}{/REPLACEMENT}